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

Fix call to deprecated class

Open sebns opened this issue 2 years ago • 2 comments

protobuf class MessageFactory is deprecated, and it is generating deprecation warnings when called.

Instead of calling MessageFactory().GetPrototype(descriptor) (that will only generate a deprecation warning and call GetMessageClass(descriptor)), we should call GetMessageClass(descriptor) directly, as suggested by the deprecation warning.

sebns avatar Jun 27 '23 18:06 sebns

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.


seb seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.
You have signed the CLA already but the status is still pending? Let us recheck it.

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

Any progress in getting this merged?

joellidin avatar Jan 17 '24 13:01 joellidin