mirror of
https://github.com/adidas/api-guidelines.git
synced 2025-10-25 15:19:19 +00:00
GITBOOK-2: No subject
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
# Key/Value Format
|
||||
|
||||
Kafka messages **MAY** include a key, which needs to be properly designed to have a good balance of data across partitions.
|
||||
|
||||
The message key and the payload (often called value) can be serialized independently and can have different formats. For example, the value of the message can be sent in AVRO format, while the message key can be a primitive type (string). 
|
||||
|
||||
Message keys **SHOULD** be kept as simple as possible and use a primitive type when possible.
|
||||
Reference in New Issue
Block a user