Skip to content

Output kafka avro: schema not foundΒ #4488

@lzwaan

Description

@lzwaan

Bug Report

Not sure if this a known bug, but couldn't fine any solution here...

Describe the bug
When sent messages to kafka with avro enabled, no schema is created, but shows some generated id?

To Reproduce
Fluentbit config (output) and there were 2 messages sent, see screenshot...

[OUTPUT]
    Name                                kafka
    Match                               lease
    Brokers                             kafka1:10091,kafka2:10092
    topics                              input.fluentbit.b2b.dhcp.lease
    Format                              avro
    Schema_str                          {"namespace":"com.github.lzwaan.avro","type":"record","name":"dhcp_lease","fields":[{"name":"TIMESTAMP","type":"string"},{"name":"CID","type":"string"},{"name":"LEASE","type":"string"},{"name":"TOPIC","type":"string"}]}
    Schema_id                           12345
    timestamp_key                       TIMESTAMP
    timestamp_format                    iso8601
    message_key_field                   CID
    rdkafka.client.id                   fluentbit_dhcp_clientid
    rdkafka.debug                       All
    rdkafka.security.protocol           plaintext
    rdkafka.request.required.acks       1
    rdkafka.log.connection.close        false
    rdkafka.log_level                   7
    rdkafka.metadata.broker.list        kafka1:10091,kafka2:10092

Screenshots from AKHQ
schema_not_found

Your Environment
Debian

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions