You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Producing and consuming records serialized by this proto in an application works fine.
Consuming an Eventr record serialized by this proto with an MSK connect connector fails to create the connect schema from the proto correctly. For the record below, the error would show
<html><head></head><body>
[Worker-0504c2846446741d1] Caused by: org.apache.kafka.connect.errors.DataException: Error converting value: "source_id: "TEST1717029245841207579"
[Worker-0504c2846446741d1] registered: user123
[Worker-0504c2846446741d1] " (Java Type: class com.google.protobuf.DynamicMessage, Protobuf type: MESSAGE) to Connect type: STRUCT
[Worker-0504c2846446741d1] at com.amazonaws.services.schemaregistry.kafkaconnect.protobuf.toconnectdata.ProtobufDataToConnectDataConverter.toConnectDataField(ProtobufDataToConnectDataConverter.java:101)
[Worker-0504c2846446741d1] at com.amazonaws.services.schemaregistry.kafkaconnect.protobuf.toconnectdata.ProtobufDataToConnectDataConverter.toConnectData(ProtobufDataToConnectDataConverter.java:67)
[Worker-0504c2846446741d1] at com.amazonaws.services.schemaregistry.kafkaconnect.protobuf.ProtobufSchemaConverter.toConnectData(ProtobufSchemaConverter.java:122)
[Worker-0504c2846446741d1] at org.apache.kafka.connect.storage.Converter.toConnectData(Converter.java:87)
[Worker-0504c2846446741d1] at org.apache.kafka.connect.runtime.WorkerSinkTask.convertValue(WorkerSinkTask.java:545)
[Worker-0504c2846446741d1] at org.apache.kafka.connect.runtime.WorkerSinkTask.lambda$convertAndTransformRecord$1(WorkerSinkTask.java:501)
[Worker-0504c2846446741d1] at org.apache.kafka.connect.runtime.errors.RetryWithToleranceOperator.execAndRetry(RetryWithToleranceOperator.java:156)
[Worker-0504c2846446741d1] at org.apache.kafka.connect.runtime.errors.RetryWithToleranceOperator.execAndHandleError(RetryWithToleranceOperator.java:190)
[Worker-0504c2846446741d1] ... 13 more
[Worker-0504c2846446741d1] Caused by: org.apache.kafka.connect.errors.DataException: Invalid value: null used for required field: "unregistered", schema type: STRING
[Worker-0504c2846446741d1] at org.apache.kafka.connect.data.ConnectSchema.validateValue(ConnectSchema.java:220)
[Worker-0504c2846446741d1] at org.apache.kafka.connect.data.Struct.validate(Struct.java:233)
[Worker-0504c2846446741d1] at org.apache.kafka.connect.data.ConnectSchema.validateValue(ConnectSchema.java:253)
[Worker-0504c2846446741d1] at org.apache.kafka.connect.data.Struct.put(Struct.java:216)
Example proto
Producing and consuming records serialized by this proto in an application works fine.
Consuming an Eventr record serialized by this proto with an MSK connect connector fails to create the connect schema from the proto correctly. For the record below, the error would show
The text was updated successfully, but these errors were encountered: