Skip to content

Commit fc965bd

Browse files
committed
Documentation updates: Links to serialization post and increasing the 1MB message size limit
1 parent 3afa734 commit fc965bd

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

docs/sink.md

+2
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,8 @@ _Note: Even when using RAW JSON mode i.e. with
117117
[StringConverter](https://kafka.apache.org/21/javadoc/index.html?org/apache/kafka/connect/storage/StringConverter.html) the expected
118118
Strings have to be valid JSON._
119119

120+
See the excellent Confluent post [serializers explained](https://www.confluent.io/blog/kafka-connect-deep-dive-converters-serialization-explained)
121+
for more information about Kafka data serialization.
120122

121123
### Supported Sink Record Structure
122124
Currently the connector is able to process Kafka Connect SinkRecords with

docs/source.md

+4
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,10 @@ Data is read from MongoDB using the configuration connection as specified in the
2020

2121
Currently, only JSON strings are supported as the output.
2222

23+
**Note:** Kafka defaults to a 1MB message size. If the JSON string size of the change stream document is greater that 1MB then you will need
24+
to configure Kafka to handle larger sized documents. See this [stackoverflow post](https://stackoverflow.com/questions/21020347/how-can-i-send-large-messages-with-kafka-over-15mb)
25+
for more information.
26+
2327
#### Event Document Format
2428

2529
The following document represents all possible fields that a change stream response document can have:

0 commit comments

Comments
 (0)