I'm programming a Kafka Consumer in an ASP.NET web application, all seems good but every time I run the consumer, it consumes all messages in the topic.
Here the Consumer config.
ConsumerConfig = new ConsumerConfig
{
GroupId = _config["KafkaConfig:GroupId"],
BootstrapServers = _config["KafkaConfig:BootstrapServer"],
AutoOffsetReset = AutoOffsetReset.Latest,
};
I'm using Confluent Kafka Client for .NET