-
Bug
-
Resolution: Unresolved
-
Major
-
None
-
None
-
False
-
None
-
False
In order to make your issue reports as actionable as possible, please provide the following information, depending on the issue type.
Bug report
For bug reports, provide this information, please:
What Debezium connector do you use and what version?
2.5.0-Final
What is the connector configuration?
kafka.producer.bootstrap.servers: xxx
value.converter=io.confluent.connect.avro.AvroConverter
value.converter.ignore.default.for.nullables=false
value.converter.schema.registry.url=xxxx
key.converter.schemas.enable=false
key.converter=org.apache.kafka.connect.json.JsonConverter
kafka.producer.retries=3
kafka.producer.retry.backoff.ms=1000
snapshot.consistency=LOCAL_ONE
snapshot.mode=INITIAL
latest.commit.log.only=false
commit.log.real.time.processing.enabled=true
What is the captured database version and mode of depoyment?
(E.g. on-premises, with a specific cloud provider, etc.)
4.0.11
What behaviour do you expect?
when AvroConverter is set as value.converter, data should get published
What behaviour do you see?
Caused by: org.apache.avro.AvroRuntimeException: Not an array: ["null","string"]
at org.apache.avro.Schema.getElementType(Schema.java:356)
at io.confluent.connect.avro.AvroData.fromConnectData(AvroData.java:521)
at io.confluent.connect.avro.AvroData.fromConnectData(AvroData.java:624)
at io.confluent.connect.avro.AvroData.fromConnectData(AvroData.java:624)
at io.confluent.connect.avro.AvroData.fromConnectData(AvroData.java:624)
at io.confluent.connect.avro.AvroData.fromConnectData(AvroData.java:352)
at io.confluent.connect.avro.AvroConverter.fromConnectData(AvroConverter.java:89)
at io.debezium.connector.cassandra.KafkaRecordEmitter.toProducerRecord(KafkaRecordEmitter.java:83)
at io.debezium.connector.cassandra.KafkaRecordEmitter.emit(KafkaRecordEmitter.java:64)
... 9 common frames omitted
and Avro union exception
Do you see the same behaviour using the latest relesead Debezium version?
(Ideally, also verify with latest Alpha/Beta/CR version)
Yes
Do you have the connector logs, ideally from start till finish?
(You might be asked later to provide DEBUG/TRACE level log)
<Your answer>
How to reproduce the issue using our tutorial deployment?
<Your answer>
Feature request or enhancement
For feature requests or enhancements, provide this information, please:
Which use case/requirement will be addressed by the proposed feature?
<Your answer>
Implementation ideas (optional)
<Your answer>
- is duplicated by
-
DBZ-7554 io.confluent.connect.avro.AvroConverter fails to parse events on tables with multiple columns
- Closed