-
Notifications
You must be signed in to change notification settings - Fork 922
Open
Labels
bugReporting an unexpected or problematic behavior of the codebaseReporting an unexpected or problematic behavior of the codebaseos:windowsFor issues specific to Windows environments. Please add more specific OS details in the issueFor issues specific to Windows environments. Please add more specific OS details in the issuepriority:highMaintainer triage tag for indicating high impact or criticality issuesMaintainer triage tag for indicating high impact or criticality issuessize:smallMaintainer triage tag for indicating change required is particularly smallMaintainer triage tag for indicating change required is particularly small
Description
Description
String representation of a TopicPartition raises a SystemError on Windows with Python 3.12.1 and Confluent Kafka Python 2.3.0.
How to reproduce
(test-2024-02-28) PS C:\gdavey\src\test> python
Python 3.12.1 (tags/v3.12.1:2305ca5, Dec 7 2023, 22:03:25) [MSC v.1937 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import confluent_kafka
>>> tp = confluent_kafka.TopicPartition("my_topic")
>>> print(tp)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
SystemError: invalid format string: %I32d,offset=%s,leader_epoch=%s,error=%s}
>>>
Checklist
Please provide the following information:
- confluent-kafka-python and librdkafka version (
confluent_kafka.version()
andconfluent_kafka.libversion()
): ('2.3.0', 33751040), ('2.3.0', 33751295) - Apache Kafka broker version:
- Client configuration:
{...}
- Operating system: Windows
- Provide client logs (with
'debug': '..'
as necessary) - Provide broker log excerpts
- Critical issue
akslick
Metadata
Metadata
Assignees
Labels
bugReporting an unexpected or problematic behavior of the codebaseReporting an unexpected or problematic behavior of the codebaseos:windowsFor issues specific to Windows environments. Please add more specific OS details in the issueFor issues specific to Windows environments. Please add more specific OS details in the issuepriority:highMaintainer triage tag for indicating high impact or criticality issuesMaintainer triage tag for indicating high impact or criticality issuessize:smallMaintainer triage tag for indicating change required is particularly smallMaintainer triage tag for indicating change required is particularly small