Hi all

### Background
Regarding Key_Shared mode, messages without message-key will default to
"NONE_KEY".

### Issue
In a topic, if half of the messages contain a message-key and the other
half do not. This will result in the consumer who occupies the key-range of
"NONE_KEY" consuming more much messages than others.

### What I want to do
I want to add a new config to switch the behavior when the message does
not contain a message-key:
- the policy exists: default the message-key to "NONE_KEY".
- the new policy: default the message-key to a random value when the
message does not contain a key.


Thanks
Yubiao Feng

Reply via email to