pauloventurab commented on issue #31330:
URL: https://github.com/apache/airflow/issues/31330#issuecomment-1586302733

   You can close this one, I could connect using:
   
   from airflow.utils import db
   
   b.merge_conn(
           Connection(
               conn_id="kafka_consumer",
               conn_type="kafka",
               extra=json.dumps(
                   {
                       "bootstrap.servers": "server",
                       "security.protocol": "SASL_SSL",
                       "sasl.mechanisms": "PLAIN",
                       "sasl.username": "username",
                       "sasl.password": "password",
                       "group.id": "my-group",
                       "enable.auto.commit": "false",
                       "auto.offset.reset": "beginning"
                       }
               ),
           )
       )


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to