Sorry i am new in Kafka and this question migth be so easy but i need some help. i did not figure out some configurations. There is a stream data, i want Consumers to see only last 5 minutes of messages that procuders sent. I am using Confluent.Kafka for .Net,
var config = new Dictionary<string, object>{
{"group.id","Test1Costumers"},
{"bootstrap.servers",brokerEndpoint},
{ "auto.commit.interval.ms", 60000},
{ "auto.offset.reset", "earliest" }
};
Here is config dictionary of Consumers in github example, another issue is i dont want to store messages in a topic more than 5 minutes cos i wont need those records if they are older than 5 minutes.
When i configure server.properties;
# The minimum age of a log file to be eligible for deletion due to age
log.retention.ms=60000
after a minute its throw error that file is currently uses
Thank you for your help.