Skip to content

Avoid packaging logback-classic #24

Description

@zheguang

logback-classic is a concrete SLF4J provider, and this module’s assembly (package.xml) unpacks all runtime dependencies into the connector artifact. Shipping a logging implementation inside a Kafka Connect plugin can lead to multiple SLF4J providers / unexpected logging behavior in Connect. If the connector only needs the SLF4J API, consider removing logback-classic or changing its scope to test/provided (or excluding it from the assembly) so the runtime’s logging system is used.

https://github.com/instaclustr/kafka-connect-connectors/pull/23/changes#r3216743705

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions