github.com/segmentio/kafka-go@v0.4.48-0.20240318174348-3f6244eb34fd/examples/kafka/kafka-variables.env (about)

     1  
     2  KAFKA_CFG_ADVERTISED_HOST_NAME=kafka
     3  KAFKA_CFG_ZOOKEEPER_CONNECT=zookeeper:2181
     4  KAFKA_CFG_CONNECT_BOOTSTRAP_SERVERS=localhost:9092
     5  
     6  KAFKA_CFG_CONNECT_REST_PORT=8082
     7  KAFKA_CFG_CONNECT_REST_ADVERTISED_HOST_NAME="localhost"
     8  
     9  KAFKA_CFG_CONNECT_KEY_CONVERTER="org.apache.kafka.connect.json.JsonConverter"
    10  KAFKA_CFG_CONNECT_VALUE_CONVERTER="org.apache.kafka.connect.json.JsonConverter"
    11  KAFKA_CFG_CONNECT_KEY_CONVERTER_SCHEMAS_ENABLE=0
    12  KAFKA_CFG_CONNECT_VALUE_CONVERTER_SCHEMAS_ENABLE=0
    13  
    14  KAFKA_CFG_CONNECT_INTERNAL_KEY_CONVERTER="org.apache.kafka.connect.json.JsonConverter"
    15  KAFKA_CFG_CONNECT_INTERNAL_VALUE_CONVERTER="org.apache.kafka.connect.json.JsonConverter"
    16  KAFKA_CFG_CONNECT_INTERNAL_KEY_CONVERTER_SCHEMAS_ENABLE=0
    17  KAFKA_CFG_CONNECT_INTERNAL_VALUE_CONVERTER_SCHEMAS_ENABLE=0
    18  
    19  KAFKA_CFG_CONNECT_OFFSET_STORAGE_FILE_FILENAME="/tmp/connect.offsets"
    20  # Flush much faster than normal, which is useful for testing/debugging
    21  KAFKA_CFG_CONNECT_OFFSET_FLUSH_INTERVAL_MS=10000
    22  
    23  ALLOW_PLAINTEXT_LISTENER: yes