debezium / debezium/dbz

Add access to JMX metrics to Kafka Connect in DebeziumContainer [DBZ-3094]

Open
#421 0 comments 0 reactions 0 assignees View on GitHub
component/testcontainers migrated-from-jira type/enhancement
Dominant language
HTML
Stars
6
Forks
8
Avg merge
2d 19h
Merged PRs (30d)
1

Description

Migrated from [DBZ-3094](https://issues.redhat.com/browse/DBZ-3094)

In order to have integration-tests that run connectors in Kafka Connect in the DebeziumContainer with snapshotting we need to be able to wait for snapshotting to be completed. This is not possible with the Kafka Connect API. In the normal tests we have direct access to JMX metrics and we check the status directly.

For DebeziumContainer we need to access the JMX exporter that comes in the Debezium container images and provide hlelper methods inside DebeziumContainer to check and wait for connectors to finish streaming.

Contributor guide

Open the contributing guide

Research direction

Start with the DebeziumContainer integration-test setup and the Debezium container image's JMX exporter. Determine how existing tests access JMX metrics and how connector snapshot and streaming completion are checked. Done means DebeziumContainer exposes helper methods that can check and wait for connectors to finish streaming.

Written by the indexing model from the issue text.

Assessment

Tech stack
kafka
Domain
testing
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.