Describe the issue
The documentation added for kafka-pubsub Avro support was misleading when it comes to rawPayload requirements.
Adjusting accordingly
Expected contentrawPayload=true metadata is only needed when publishing but not when consuming a message. When adding rawPayload=true to subscription, it will wrap the message in CloudEvent and base64 encode it, which is not the desired outcome.
Messages should come as deserialized json (from Avro).
Describe the issue The documentation added for kafka-pubsub Avro support was misleading when it comes to rawPayload requirements. Adjusting accordingly
URL of the docs https://docs.dapr.io/reference/components-reference/supported-pubsub/setup-apache-kafka/#avro-schema-registry-serializationdeserialization
Expected content
rawPayload=true
metadata is only needed when publishing but not when consuming a message. When addingrawPayload=true
to subscription, it will wrap the message in CloudEvent and base64 encode it, which is not the desired outcome. Messages should come as deserialized json (from Avro).Screenshots
Additional context N/A