Closed
Description
Description
When calling AvroConsumer.consume()
, Python crashes with a Segmentation fault
.
I guess that this method should be overridden similar to AvroConsume.poll()
to return deserialized messages.
How to reproduce
import confluent_kafka
import confluent_kafka.avro
c = confluent_kafka.avro.AvroConsumer(
{
"bootstrap.servers": ["kafka-broker"],
"schema.registry.url": "http://schema-registry:8081",
}
)
print(confluent_kafka.version(), confluent_kafka.libversion())
print(c.consume())
Checklist
Please provide the following information:
- confluent-kafka-python and librdkafka version (
confluent_kafka.version()
andconfluent_kafka.libversion()
): 0.11.5 - Apache Kafka broker version: 1.1.1
- Client configuration:
{...}
- Operating system: Linux
- Provide client logs (with
'debug': '..'
as necessary) - Provide broker log excerpts
- Critical issue