[default] # Specify the Kafka broker addresses. This is typically the address of your Confluent Cloud cluster. < Endpoint > bootstrap.servers=SASL_SSL://pkc-lzvrd.us-west4.gcp.confluent.cloud:9092 # Determine the security protocol. SASL_SSL indicates authentication using SASL and SSL for encryption. security.protocol=SASL_SSL # Specify the SASL mechanism used for authentication. PLAIN indicates plaintext authentication. sasl.mechanisms=PLAIN # The username for SASL/PLAIN authentication. Generally, this is a Confluent Cloud API key. < API Key > sasl.username=G2F2E2M6RA53DAHO # The password for SASL/PLAIN authentication. Generally, this is a Confluent Cloud API secret. < API Secret > sasl.password=baR8Hz+cZLpGshafWFeir1f97W3a05N0/Lu7NxcL0Uuj4IQC17AtlKk0AS+SMaDC [consumer] # It's essential to set a unique group ID for your application. Kafka uses this to manage the offsets of messages the consumer group has processed. group.id=my_consumer_group # This setting determines how to behave when the consumer starts and no committed offset is found. # 'earliest' will make the consumer start from the beginning of the topic. # Other possible values: 'latest' (start at the end), 'none' (throw an exception if no offset found). auto.offset.reset=earliest