nomad-firehose
nomad-firehose copied to clipboard
Write kafka key to partition
Modifies structs to take in a string 'key' (in addition to the data []byte) so the commands (allocation/jobs/nodes) can write the IDs to the key for kafka absolute order partitioning.
should have no effect on other sinks, as the key argument is ignored in the Put().
tested locally.
addressed some comments
LGTM
Having this code merged would be a godsend. Are there any reasons not to merge this PR?