What is the behavior of topics that go beyond their retention period? Is it possible to write to them after their retention policy period? I have been trying to write to them on confluent-kafka-dotnet (a .NET library) but when I run a consumer I don't see any messages streaming through. The value of the partition is just an empty string array. Is it possible to write to a topic beyond the retention time or does the topic get disabled?
using (var consumer = new Consumer(config))
{
consumer.Assign(new List<TopicPartitionOffset> { new TopicPartitionOffset(topicName, 0, 0) });
while (true)
{
Message msg;
if (consumer.Consume(out msg))
{
Console.WriteLine("Topic: {0} Response: P{1},O{1} :{3}", msg.Topic, msg.Partition, msg.TopicPartitionOffset, Encoding.UTF8.GetString(msg.Value));
}
}
}