Kafka transport binding v2 #337
ping @hschaffner - please review and add any comments w.r.t. why the partitionkey extension should not be needed.
@bluemonk3y now that #429 is merged, can you rebase this one to deal with the merge conflicts? Also, you may need to edit some of the text to deal with recent spec changes - such as the names of the attributes being changed (or lower-cased).
thanks everyone for your patience.
What @clemensv describes in #218 (comment) makes sense to me: make this a concern of the transport binding which would allow for a callback function for retrieving the partition/message key on an per-event basis. The spec-defined
One open question to me is how the callback would be defined. What exactly is it? E.g. a (Java) class implementing a certain interface for extracting the key based on an incoming event? Or would at the spec level just be defined that there is a callback mechanism but it'd then be up to specific implementations of this to define the concrete mechanism?