[KAFKA-378] Change connection string to Password Created: 05/Jul/23  Updated: 28/Oct/23  Resolved: 05/Jul/23

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

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

Issue Links:
Duplicate
is duplicated by KAFKA-375 Connection uri in mongodb connector i... Closed

 Description   

To ensure that credentials aren't leaked to the log, change connection string type to Password.

Remove the legacy map partitioner which uses the raw connection string as the value.



 Comments   
Comment by Ross Lawley [ 05/Jul/23 ]

Cherry-picked: 84ce0003f8d236f476c9bfd7f2624662f28de027 and removed the now defunct legacy partition naming scheme.

Comment by Githook User [ 05/Jul/23 ]

Author:

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

Message: Removed legacy partition mapping

As it used the raw connection string it could leak credentials to the
log. As changing connection string uri to password changed its output
there was no point in retaining it.

KAFKA-378
Branch: master
https://github.com/mongodb/mongo-kafka/commit/816b13deead4adc14a7210d10ac9c4d2c46b88ec

Comment by Githook User [ 05/Jul/23 ]

Author:

{'name': 'Jinxin Liu', 'email': 'liukrimhim@gmail.com', 'username': 'liukrimhrim'}

Message: Change the type of 'connection.uri' PASSWORD

Prevent username / password leak in logs.

KAFKA-378
Branch: master
https://github.com/mongodb/mongo-kafka/commit/ff130684f3a4e1b8ee4b2b4ff56bce6c6dff6591

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