mirror of
https://github.com/adidas/api-guidelines.git
synced 2025-10-25 15:19:19 +00:00
FDP-5206 - Update guidelines and format
This commit is contained in:
@@ -2,6 +2,6 @@
|
||||
|
||||
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). 
|
||||
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