Uploaded image for project: 'Kafka Connector'
  1. Kafka Connector
  2. KAFKA-196

Use Booleans in userInfo and rolesInfo in ConnectionValidator.java

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 1.5.0
    • Affects Version/s: 1.4.0
    • Component/s: Sink
    • Labels:
      None

      ConnectionValidator calls userInfo and rolesInfo, but uses an integer instead of a Boolean for the showPrivileges and showBuiltinRoles arguments, per the MongoDB documentation: 
      https://docs.mongodb.com/manual/reference/command/usersInfo/
      https://docs.mongodb.com/manual/reference/command/rolesInfo/

      We should convert that to use Booleans.

      A pull request can be found here: https://github.com/mongodb/mongo-kafka/pull/55 

            Assignee:
            ross@mongodb.com Ross Lawley
            Reporter:
            brianmhess@gmail.com Brian Hess
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: