confluent-kafka-python icon indicating copy to clipboard operation
confluent-kafka-python copied to clipboard

make Message type user-instantiable plus some extras

Open joaoe opened this issue 2 years ago • 5 comments

Closes #1535 and #1585

Added a bunch of nice to have feature if you're writting unit tests involving a lot of message handling:

  • Made Messages instantiatable from Python
  • Two extra set* methods
  • Added __eq__ and __ne__ comparison
  • Added __reduce__ so Messages can be passed across processes. Also benefits from https://github.com/confluentinc/confluent-kafka-python/pull/1240 when reducing Messages with error set.

joaoe avatar Jun 15 '23 08:06 joaoe

Any chance to get this reviewed and merged?
I came here looking for serialization options for pickling a list of messages to create unit tests, and am thrilled to see an open PR with it.

mesner avatar Jul 22 '23 12:07 mesner

Any chance to get this reviewed and merged? I came here looking for serialization options for pickling a list of messages to create unit tests, and am thrilled to see an open PR with it.

Hi. It is quite annoying that this github project is nearly dormant, while Confluent is a commercial organization. Perhaps you can contact Confluent and ask them to pay attention to their github project.

joaoe avatar Jul 22 '23 19:07 joaoe

CLA assistant check
All committers have signed the CLA.

cla-assistant[bot] avatar Aug 15 '23 18:08 cla-assistant[bot]

@pranavrth Hi ! I wonder why Confluent is being so slow giving feedback or accepting PRs ? Can you give some insight ? Thank you.

joaoe avatar Sep 25 '23 21:09 joaoe