Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MirrorMaker2 failed to sync to target kafka #85

Open
munger1985 opened this issue Apr 23, 2023 · 0 comments
Open

MirrorMaker2 failed to sync to target kafka #85

munger1985 opened this issue Apr 23, 2023 · 0 comments

Comments

@munger1985
Copy link

when i used mirrormaker2 to sync, if the topic count is small, no issues,
but if topic count is 200+, connect.log shows
Request cannot contain more than 5 topics.
[2023-04-20 10:05:42,382] WARN [MirrorSourceConnector|worker] Could not create topic S17_inner_transcode_response. (org.apache.kafka.connect.mirror.MirrorSourceConnector:371)
java.util.concurrent.CompletionException: org.apache.kafka.common.errors.InvalidRequestException: Request cannot contain more than 5 topics.
at java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:292)
at java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:308)
at java.util.concurrent.CompletableFuture.uniApply(CompletableFuture.java:607)
at java.util.concurrent.CompletableFuture$UniApply.tryFire(CompletableFuture.java:591)
at java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:488)
at java.util.concurrent.CompletableFuture.completeExceptionally(CompletableFuture.java:1990)
at org.apache.kafka.common.internals.KafkaCompletableFuture.kafkaCompleteExceptionally(KafkaCompletableFuture.java:49)
at org.apache.kafka.common.internals.KafkaFutureImpl.completeExceptionally(KafkaFutureImpl.java:130)
at org.apache.kafka.clients.admin.KafkaAdminClient$1.handleResponse(KafkaAdminClient.java:1616)
at org.apache.kafka.clients.admin.KafkaAdminClient$AdminClientRunnable.handleResponses(KafkaAdminClient.java:1255)
at org.apache.kafka.clients.admin.KafkaAdminClient$AdminClientRunnable.processRequests(KafkaAdminClient.java:1408)
at org.apache.kafka.clients.admin.KafkaAdminClient$AdminClientRunnable.run(KafkaAdminClient.java:1331)
at java.lang.Thread.run(Thread.java:750)
Caused by: org.apache.kafka.common.errors.InvalidRequestException: Request cannot contain more than 5 topics.
[2023-04-20 10:05:42,382] WARN [MirrorSourceConnector|worker] Could not create topic N9M_0_MEDIASTREAMMODEL_MEDIATASKSTART. (org.apache.kafka.connect.mirror.MirrorSourceConnector:371)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant