[KAFKA-196] Use Booleans in userInfo and rolesInfo in ConnectionValidator.java Created: 09/Feb/21 Updated: 28/Oct/23 Resolved: 10/Feb/21 |
|
| Status: | Closed |
| Project: | Kafka Connector |
| Component/s: | Sink |
| Affects Version/s: | 1.4.0 |
| Fix Version/s: | 1.5.0 |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Brian Hess | Assignee: | Ross Lawley |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Description |
|
ConnectionValidator calls userInfo and rolesInfo, but uses an integer instead of a Boolean for the showPrivileges and showBuiltinRoles arguments, per the MongoDB documentation: We should convert that to use Booleans. A pull request can be found here: https://github.com/mongodb/mongo-kafka/pull/55 |
| Comments |
| Comment by Githook User [ 10/Feb/21 ] |
|
Author: {'name': 'Brian Hess', 'email': 'brianmhess@users.noreply.github.com', 'username': 'brianmhess'}Message: Update ConnectionValidator.java (#55) Convert to using Booleans for userInfo and rolesInfo command, per MongoDB documentation.
|
| Comment by Ross Lawley [ 10/Feb/21 ] |
|
As 1.4.0 has recently been released it won't be for a while. Unless this is having real world impact. Ross |
| Comment by Brian Hess [ 09/Feb/21 ] |
|
No problem, Ross. |
| Comment by Ross Lawley [ 09/Feb/21 ] |
|
Thanks brianmhess@gmail.com, Marked to be fixed in the next release. Just out of interest did this issue impact you at all? Regards, Ross |