0

Is there any way to recognize the last kafka message of every partition in multi-partitioned topic and multiple consumers apart from lag?

I know one way to identify the last message which is through AdminClient API/ kafka consumer API. But need to use different method.

Sakshi K
  • 1
  • 2

1 Answers1

0

The only ways are to query the end offset of the partitions using admin/consumer, as you've found.

You could install Confluent REST Proxy and use HTTP calls, maybe, or use shell scripts, and parse the output, but it's just an abstraction over the same methods

OneCricketeer
  • 179,855
  • 19
  • 132
  • 245