Uploaded image for project: 'Managed Services - Client Experience'
  1. Managed Services - Client Experience
  2. MGDX-262

[CLI] service-account commands should generate file suitable for Java Kafka client

XMLWordPrintable

    • MGDX - Sprint 227

      Currently, the commands `rhoas service-account create` and `rhoas service-account reset-credentials` support the file-formats "env", "json", "properties", "secret".

      rhoas cli should have the ability to generate java properties files suitable for the Java Kafka Client.

      Example properties file for Java Kafka client:

      sasl.mechanism=OAUTHBEARER
      security.protocol=SASL_SSL

      sasl.oauthbearer.token.endpoint.url=https://sso.redhat.com/auth/realms/redhat-external/protocol/openid-connect/token

      sasl.jaas.config=org.apache.kafka.common.security.oauthbearer.OAuthBearerLoginModule required \
      clientId="<client-id>" \
      clientSecret="<client-secret>" ;

      sasl.login.callback.handler.class=org.apache.kafka.common.security.oauthbearer.secured.OAuthBearerLoginCallbackHandler

      Java Kafka Client properties format is central to Kafka and it will enhance the experience of Kafka Quickstarts.

            rpattnai Ramakrishna Pattnaik
            rpattnai Ramakrishna Pattnaik
            MK - DevExp
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: