Torch Log Service
Name | Required | Example value | Description |
type | Yes | org.apache.flume.sink.kafka.KafkaSink | Must be configured as org.apache.flume.sink.kafka.KafkaSink. |
kafka.bootstrap.servers | Yes | tls-cn-beijing.volces.com:9094 | The initial cluster connection address is formatted as service address:port, where:
Notice https:// is not required to be specified in service address. |
kafka.producer.security.protocol | Yes | SASL_SSL | To ensure data transmission security, you must set the connection protocol to SASL_SSL. |
kafka.producer.sasl.mechanism | Yes | PLAIN | Set the authentication method for uploading data to TLS. Set this to PLAIN. |
kafka.producer.sasl.jaas.config | Yes | None | Specify the authentication settings for uploading data to TLS, including username and password.
org.apache.kafka.common.security.plain.PlainLoginModule required username="Log service project ID" password="Volcengine account secrect key"; |
kafka.topic | No | f93fc61xxxxefec8a5 | Kafka topic. Set this to the topic ID for TLS. When Flume uploads data, Flume uploads data to this log topic in TLS. |
flumeBatchSize | No | 100 | Number of records uploaded each time. Larger values increase throughput but also raise latency. The default value is 100 and modification is not recommended. |
kafka.producer.acks | No | 1 | The message acknowledgment mechanism for Kafka producer. The default value is 1, which means the Leader broker writes successfully. Modification is not recommended. |
kafka.producer.batch.size | No | 1048576 | The batch data size for Kafka producers, measured in bytes. Notice We recommend setting it to 1048576, which equals 1MB. |
kafka.producer.linger.ms | No | 100 | The waiting time for Kafka producers before sending messages in batches, measured in milliseconds. Notice We recommend setting it to 100. |
kafka.producer.compression.type | No | lz4 | The compression method used by Kafka producer for sending messages. We recommend using lz4. |