Skip to content

Commit

Permalink
Вернул привязку к нулевой партиции Kafka-топика
Browse files Browse the repository at this point in the history
  • Loading branch information
e.makrushin committed May 24, 2024
1 parent 7f0fb20 commit cb41f2a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Vostok.Hercules.Consumers/Kafka/KafkaTopicReader.cs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ internal sealed class KafkaTopicReader
private readonly IConsumer<Ignore, byte[]> consumer;

private static readonly DataSize ReadBufferRentSize = 25.Megabytes(); // Approximate size
private static readonly Partition Partition = Partition.Any;
private static readonly Partition Partition = new Partition(0);

public KafkaTopicReader(KafkaTopicReaderSettings settings, ILog log, BufferPool bufferPool)
{
Expand Down

0 comments on commit cb41f2a

Please sign in to comment.