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

Add metadata to TopicPartition

Open milindl opened this issue 3 years ago • 1 comments

This PR builds on #1126 (retains commit history).

Since there are comments on the prior PR, I'll both add those comments here and address them here.

milindl avatar Aug 22 '22 09:08 milindl

CLA assistant check
All committers have signed the CLA.

CLAassistant avatar Aug 22 '22 09:08 CLAassistant

Updated PR to use strings as the metadata type. Reading with "s" ensures that we get a utf-8 encoded version of the unicode object or string, as well as an error for a NULL character in the middle of the string, which is what we want.

milindl avatar Oct 10 '22 10:10 milindl