Unable to explicitly set no key in kafka franz output #2423
Labels
needs investigation
It looks as though have all the information needed but investigation is required
outputs
Any tasks or issues relating specifically to outputs
Previously when using the
kafka
output we used the following interpolation to set the kafka key.The behaviour here was to use the
kafka_key
added at input if its available but if not, don't error and don't set a key.However when using the exact same config on the
kafka_franz
output the behaviour changed as the 0 length string was instead used as the key, causing everything to go to the same partition. I also triedcatch(null)
which did the same thing.The text was updated successfully, but these errors were encountered: