[KAFKA-301] ByteArrayRecordConverter should return a mutable document Created: 11/Mar/22  Updated: 28/Oct/23  Resolved: 13/Dec/22

Status: Closed
Project: Kafka Connector
Component/s: None
Affects Version/s: None
Fix Version/s: 1.9.0

Type: Bug Priority: Unknown
Reporter: Ross Lawley Assignee: Ross Lawley
Resolution: Fixed Votes: 1
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Quarter: FY23Q4

 Description   

From: https://www.mongodb.com/community/forums/t/kafka-sink-connectors-are-failing-with-rawbsondocument-instances-are-immutable-error/151669

The lack of mutability can cause issues with post processors, especially if there is no _id field the DocumentIdAdder will error.



 Comments   
Comment by Githook User [ 13/Dec/22 ]

Author:

{'name': 'Ross Lawley', 'email': 'ross.lawley@gmail.com', 'username': 'rozza'}

Message: ByteArrayRecordConverter now returns mutable documents

KAFKA-301
Branch: master
https://github.com/mongodb/mongo-kafka/commit/4e259d6cf52add4f55e86ff77f9b5a463f9780c2

Generated at Thu Feb 08 09:06:04 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.