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
Note that for both messages the output is "" and I can't think of any way to distinguish between them. However, for the second message, we should output null instead.
As far as I can tell, we allow implicit conversion from bytes to string, so maybe we can just get rid of the string cast here and here since we now have structured metadata...
UPDATE: Another issue is that the key interpolation for the outputs can only produce strings, so we don't have a way right now to emit null instead of "" when using interpolation.
The text was updated successfully, but these errors were encountered:
Run either the
kafka_franz
or thekafka
output to produce 2 messages. For the first one, setkey: ""
and for the second one, do not set this field.Now, try running this config:
Note that for both messages the output is
""
and I can't think of any way to distinguish between them. However, for the second message, we should outputnull
instead.As far as I can tell, we allow implicit conversion from bytes to string, so maybe we can just get rid of the string cast here and here since we now have structured metadata...
UPDATE: Another issue is that the
key
interpolation for the outputs can only produce strings, so we don't have a way right now to emitnull
instead of""
when using interpolation.The text was updated successfully, but these errors were encountered: