hongbo-miao/hongbomiao.com

View on GitHub
data-ingestion/fluent-bit/write-dummy-log-to-kafka/fluent-bit.conf

Summary

Maintainability
Test Coverage
# https://docs.fluentbit.io/manual/pipeline/inputs/tail
[INPUT]
    Name tail
    Path /usr/src/app/dummy.log
    Tag  hm_dummy_log
    Read_from_Head True

# https://docs.fluentbit.io/manual/pipeline/outputs/kafka
# https://github.com/confluentinc/librdkafka/blob/master/CONFIGURATION.md
[OUTPUT]
    Name kafka
    Match *
    Brokers kafka-bootstrap.10.10.8.135.nip.io:443
    Topics hm.dummy-log
    rdkafka.security.protocol ssl
    rdkafka.ssl.ca.location /usr/src/app/ca.crt
    # rdkafka.debug all