添加链接
link管理
链接快照平台
  • 输入网页链接,自动生成快照
  • 标签化管理网页链接

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement . We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Since version 0.10.0.1, Apache Kafka offers a ProducerRecord constructor method that accepts a Long timestamp value. Reference JavaDocs presently at https://kafka.apache.org/0100/javadoc/org/apache/kafka/clients/producer/ProducerRecord.html .

KafkaOperations and KafkaTemplate should offer additional send methods to support passing in a timestamp value, which could then be relayed to the ProducerRecord constructor.