question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

isomorphism between fs2-ConsumerRecord and kafka raw ConsumerRecord

See original GitHub issue

I try to establish an isomorphism between fs2’s ConsumerRecord and the kafka raw ConsumerRecord: https://github.com/chenharryhua/nanjin/blob/master/codec/src/main/scala/com/github/chenharryhua/nanjin/codec/BitraverseFs2Message.scala#L53

the problem here is the the implementation of fs2 ConsumerRecords’ TimestampType does not carry the timestamp information when it is none.

My understanding is that the timestamp-type is not related to timestamp so that they might setup independently. Am I missing something?

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:8 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
chenharryhuacommented, Sep 10, 2019

@vlovgr Thanks. I will think about how Timestamp.unknown looks like and its relationship with Timestamp.none.

0reactions
vlovgrcommented, Sep 19, 2019

Thanks again @chenharryhua! I’ll get a new release out later today.

Fixed by #213.

Read more comments on GitHub >

github_iconTop Results From Across the Web

ConsumerRecord (kafka 2.1.0 API)
Creates a record to be received from a specified topic and partition (provided for compatibility with Kafka 0.10 before the message format supported...
Read more >
Reading Avro data from ConsumerRecord - Cloud - 8.0
When you use ConsumerRecord, the Avro records are classified as Object in Ta... ... Reading and writing Avro data from Kafka using Standard...
Read more >
Consume messages in Kafka - Medium
This article will deep dive into the consumption of messages or events using Apache Kafka Consumer. The article is in continuation of my ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found