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

Use Booleans in userInfo and rolesInfo in ConnectionValidator.java

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 1.5.0
    • 1.4.0
    • Sink
    • None

    Description

      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 

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: