|
We're having substantial struggles utilizing the source connector "out-of-the-box" because it is not able to convert binary (subtype=4) UUID values to hexidecimal string form like it does for OIDs when using the SimplifiedJson JsonWriterSettingsProvider.
This could be easily remedied with a conversion for Standard UUIDs included in the provider like
.binaryConverter(
|
(value, writer) -> {
|
if (BsonBinarySubType.UUID_STANDARD.getValue() == value.getType())
|
writer.writeString(value.asUuid().toString());
|
else
|
writer.writeString(Base64.getEncoder().encodeToString(value.getData()));
|
})
|
|