这是indexloc提供的服务,不要输入任何密码
Skip to content

confluent-hub is deprecated #47

@OneCricketeer

Description

@OneCricketeer

Ref. https://docs.confluent.io/platform/current/connect/confluent-hub/index.html

Need to document this instead

FROM confluentinc/confluent-cli:latest AS deps

ENV CONNECT_PLUGIN_PATH="/tmp/connectors"
ARG JDBC_CONNECTOR_VERSION=10.8.0 \
    DEBEZIUM_CONNECTOR_VERSION=2.5.4

# install kafka-connect-jdbc from Confluent Hub
RUN mkdir -p "$CONNECT_PLUGIN_PATH" && echo 'plugin.path=/tmp/connectors' > /tmp/connect.properties \
    && confluent connect plugin install \
        "confluentinc/kafka-connect-jdbc:$JDBC_CONNECTOR_VERSION" \
        --plugin-directory "$CONNECT_PLUGIN_PATH" --worker-configurations /tmp/connect.properties --force \
   && confluent connect plugin install \
        "debezium/debezium-connector-postgresql:$DEBEZIUM_CONNECTOR_VERSION" \
        --plugin-directory "$CONNECT_PLUGIN_PATH" --worker-configurations /tmp/connect.properties --force

FROM cricketeerone/apache-kafka-connect:3.8.0

COPY --from=deps /tmp/connectors /app/libs/ext

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentationgood first issueGood for newcomers

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions