kafka-ui icon indicating copy to clipboard operation
kafka-ui copied to clipboard

Serde: Support `__transaction_state` topic

Open ver-alex opened this issue 1 year ago • 5 comments

Issue submitter TODO list

  • [X] I've searched for an already existing issues here
  • [X] I'm running a supported version of the application which is listed here and the feature is not present there

Is your proposal related to a problem?

I would like to be able to show content of the Kafka internal topics.

Describe the feature you're interested in

To get a better insight into the internal Kafka transactions topic __transaction_state it would be great to be able to show the key/value in a readable format. The necessary serdes/formatters should be available in the Kafka distribution/clients.

Describe alternatives you've considered

We are currently using the kafka-console-consumer.sh with the formatter for transactions.

$ kafka-console-consumer.sh --formatter "kafka.coordinator.transaction.TransactionLog\$TransactionLogMessageFormatter" --bootstrap-server localhost:29092 --topic __transaction_state --from-beginning

Version you're running

2956664 v1.0.0

Additional context

No response

ver-alex avatar May 22 '24 12:05 ver-alex

Hi ver-alex! 👋

Welcome, and thank you for opening your first issue in the repo!

Please wait for triaging by our maintainers.

As development is carried out in our spare time, you can support us by sponsoring our activities or even funding the development of specific issues. Sponsorship link

If you plan to raise a PR for this issue, please take a look at our contributing guide.

github-actions[bot] avatar May 22 '24 12:05 github-actions[bot]

I see that __transaction_state messages are not deserialized properly, but __consumer_offsets looks fine to me, can you attach a screenshot?

image

There's also a __consumer_offsets built-in serde which should be used by default for __consumer_offsets topic: image

Haarolean avatar May 22 '24 13:05 Haarolean

Further user feedback is requested. Please reply within 7 days or we might close the issue.

kapybro[bot] avatar May 22 '24 13:05 kapybro[bot]

Sorry, my bad. __consumer_offsets work as expected. Will amend the initial description.

ver-alex avatar May 23 '24 07:05 ver-alex

Thanks for the additional feedback! We'll get back to your issue soon.

kapybro[bot] avatar May 23 '24 07:05 kapybro[bot]