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
Is your feature request related to a problem? Please describe.
Metamorphosis writes messages to topics on this format: {Topic: "myMqttTopic", Content: "aHR0cHM6Ly95b3V0dS5iZS9kUXc0dzlXZ1hjUQ=="}.
We are using Redpanda Console / Kowl to monitor the stream, the encoded Content value is difficult to read when we need a quick overview. Also, we are not using encoding in other topics and applications.
Describe the solution you'd like
Make the base64 encoding optional with a env variable.
The text was updated successfully, but these errors were encountered:
This is potentially problematic as we have no idea what the messages contain. What we get from MQTT is binary data and as such the only safe way is to encode it. This is the default encoding in Go when creating JSON that might contain binary data ([]byte). As such there is no explicit encoding in Metamorphosis. It all happens automatically.
In my opinion the decoding from base64 should happen on the consumer side.
We've been wondering about the same thing. We have our own APIs to inspect traffic in Kafka and in these APIs we decode.
Perhaps you ask the Redpanda ppl to decode this in the console? I suspect we're not the only ones who are encoding data in Kafka/Redpanda like that.
Is your feature request related to a problem? Please describe.
Metamorphosis writes messages to topics on this format:
{Topic: "myMqttTopic", Content: "aHR0cHM6Ly95b3V0dS5iZS9kUXc0dzlXZ1hjUQ=="}
.We are using Redpanda Console / Kowl to monitor the stream, the encoded
Content
value is difficult to read when we need a quick overview. Also, we are not using encoding in other topics and applications.Describe the solution you'd like
Make the base64 encoding optional with a env variable.
The text was updated successfully, but these errors were encountered: