You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To inform Apache Kafka to associate a timestamp to the record, the corresponding data in ProducerRecord shall be null since the timestamp is a Java.Lang.Long which can be a nullable type.
When the conversion is done here
To avoid the problem both Timestamp and Partition shall be converted into .NET nullable types. A nullable Partition inform Apache Kafka to choose the partition, if the topic have multiple one, using the partition strategy in use, otherwise always the default one (0 for an int) will be used.
Describe the bug
The timestamp stored in a topic is not set to current time, but reports the UNIX epoch time.
To Reproduce
Steps to reproduce the behavior:
KNetProducer
KNetProducerRecord<TKey, TValue>(topic, key, value)
Expected behavior
The timestamp shall be set to the current time if not explicitly set in
KNetProducerRecord
Screenshots
No screenshot
Desktop (please complete the following information):
Latest KNet release
Additional context
N/A
The text was updated successfully, but these errors were encountered: