Skip to content

Commit 0194e84

Browse files
authored
Merge pull request #149 from norareidy/DOCSP-34797-key-definition
DOSCP-34797: Clarify key definition
2 parents aafabc6 + 7bd4ac1 commit 0194e84

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

source/source-connector/fundamentals/specify-schema.txt

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,13 @@
44
Apply Schemas
55
=============
66

7+
.. facet::
8+
:name: genre
9+
:values: reference
10+
11+
.. meta::
12+
:keywords: structure, code example
13+
714
.. contents:: On this page
815
:local:
916
:backlinks: none
@@ -25,9 +32,9 @@ sent to Apache Kafka.
2532

2633
.. important:: Note on Terminology
2734

28-
The word "key" has a slightly different meaning in the context
29-
of BSON and Apache Kafka. In BSON, a "key" is a unique string identifier for
30-
a field in a document.
35+
This guide uses the Apache Kafka definition of the word "key", which differs
36+
slightly from the BSON definition. In BSON, a "key" is a unique string identifier
37+
for a field in a document.
3138

3239
In Apache Kafka, a "key" is a byte array sent in a message used to determine
3340
what partition of a topic to write the message to. Kafka keys can be

0 commit comments

Comments
 (0)