Title: ERROR Failed to get topics from kafka zk: {} (com.uber.stream.kafka.mirrormaker.common.core.KafkaBrokerTopicObserver) · Issue #348 · uber/uReplicator · GitHub
Open Graph Title: ERROR Failed to get topics from kafka zk: {} (com.uber.stream.kafka.mirrormaker.common.core.KafkaBrokerTopicObserver) · Issue #348 · uber/uReplicator
X Title: ERROR Failed to get topics from kafka zk: {} (com.uber.stream.kafka.mirrormaker.common.core.KafkaBrokerTopicObserver) · Issue #348 · uber/uReplicator
Description: Hi there, I am doing a little poc to learn more about uReplicator and how it replicates the topics and messages I am new to kafka and uber uReplicator, i am trying to deploy federated uReplicator. I am not able to configure it properly i...
Open Graph Description: Hi there, I am doing a little poc to learn more about uReplicator and how it replicates the topics and messages I am new to kafka and uber uReplicator, i am trying to deploy federated uReplicator. ...
X Description: Hi there, I am doing a little poc to learn more about uReplicator and how it replicates the topics and messages I am new to kafka and uber uReplicator, i am trying to deploy federated uReplicator. ...
Opengraph URL: https://github.com/uber/uReplicator/issues/348
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"ERROR Failed to get topics from kafka zk: {} (com.uber.stream.kafka.mirrormaker.common.core.KafkaBrokerTopicObserver)","articleBody":"Hi there,\r\n\r\nI am doing a little poc to learn more about uReplicator and how it replicates the topics and messages\r\n\r\nI am new to kafka and uber uReplicator, i am trying to deploy federated uReplicator. I am not able to configure it properly i guess. There are certain things which aren't making sense. \r\n1) i have cloned all the git repos (master, 0.1.0, 1.0 ) but after i use mvn clean package, the jar files its creating have some different versions than i see in the quick start guide commands, especially the start commands for federated one.\r\n2) if i am correct, in the federated mode we can have more than one src clusters and more than one dest clusters right?\r\n3) i have learned that one uReplicator can replicate between one src and one dest cluster. But this is for non-federated. In the federated mode we can have multiple src clusters and multiple target clusters. Is that correct?\r\n4) If i am correct, uReplicator does not replicate topic configurations unlike mm2 from kafka, it does not replicate topic offsets?\r\n\r\nIn my case, i want to start uReplicator in federated mode so that i can add more clusters to it later, i want all the topics to replicate from source machine (single node kafka\u0026zk) to target (single node kafka\u0026zk). I started federated uReplicator on my target node. So i am starting manager, controller and worker on the same machine (target), so the machine i am starting uRep-federated is the destination/target also for replication, but i am seeing this error when i start manager. \r\n\r\n\r\nThe manager is running, its not stopping but throwing this error too and when i create a topic and produce some messages in the source machine, i am not able to consume those messages from the target machine.\r\n\r\nHere are my logs:\r\n\r\nmanager:\r\n\r\n\r\ncontroller:\r\n\r\n\r\nWorker:\r\n\r\n\r\nHere are my configuration files:\r\nclusters.properties\r\n\r\n\r\nconsumer.properties:\r\n\r\n\r\nproducer.properties:\r\n\r\n\r\nhelix.properties:\r\n\r\n\r\nmy start commands:\r\n\r\nmanager:\r\njava -Dlog4j.configuration=file:config/tools-log4j.properties -Xms3g -Xmx3g -Xmn512m -XX:NewSize=512m -XX:MaxNewSize=512m -XX:+AlwaysPreTouch -XX:+UseCompressedOops -XX:+UseConcMarkSweepGC -XX:+UseParNewGC -XX:+DisableExplicitGC -XX:+PrintCommandLineFlags -XX:CMSInitiatingOccupancyFraction=80 -XX:SurvivorRatio=2 -XX:+PrintTenuringDistribution -XX:+PrintGCDetails -XX:+PrintGCDateStamps -XX:+PrintGCApplicationStoppedTime -XX:+PrintGCApplicationConcurrentTime -XX:+PrintGCTimeStamps -Xloggc:./logs/gc-ureplicator-manager.log -server -cp uReplicator-Manager/target/uReplicator-Manager-2.0.2-SNAPSHOT-jar-with-dependencies.jar com.uber.stream.kafka.mirrormaker.manager.ManagerStarter -config config/clusters.properties -srcClusters cluster1 -destClusters cluster3 -enableRebalance false -zookeeper localhost:2181 -managerPort 9000 -deployment c1-c2 -env dc1.c1-c2 -instanceId 100 -graphiteHost 127.0.0.1 -graphitePort 4756 -workloadRefreshPeriodInSeconds 300 -initMaxNumPartitionsPerRoute 1500 -maxNumPartitionsPerRoute 2000 -initMaxNumWorkersPerRoute 10 -maxNumWorkersPerRoute 80\r\n\r\ncontroller:\r\njava -Dlog4j.configuration=file:config/tools-log4j.properties -Xms3g -Xmx3g -Xmn512m -XX:NewSize=512m -XX:MaxNewSize=512m -XX:+AlwaysPreTouch -XX:+UseCompressedOops -XX:+UseConcMarkSweepGC -XX:+UseParNewGC -XX:+DisableExplicitGC -XX:+PrintCommandLineFlags -XX:CMSInitiatingOccupancyFraction=80 -XX:SurvivorRatio=2 -XX:+PrintTenuringDistribution -XX:+PrintGCDetails -XX:+PrintGCDateStamps -XX:+PrintGCApplicationStoppedTime -XX:+PrintGCApplicationConcurrentTime -XX:+PrintGCTimeStamps -Xloggc:./logs/gc-ureplicator-controller.log -server -cp uReplicator-Controller/target/uReplicator-Controller-2.0.2-SNAPSHOT-jar-with-dependencies.jar com.uber.stream.kafka.mirrormaker.controller.ControllerStarter -config config/clusters.properties -srcClusters cluster1 -destClusters cluster3 -enableFederated true -deploymentName c1-c2 -env dc1.c1-c2 -mode customized -zookeeper localhost:2181 -port 9100 -instanceId 1 -hostname swarm1 -enableAutoWhitelist true -enableAutoTopicExpansion true -autoRebalanceDelayInSeconds 120 -autoRebalancePeriodInSeconds 120 -autoRebalanceMinIntervalInSeconds 600 -autoRebalanceMinLagTimeInSeconds 900 -autoRebalanceMinLagOffset 100000 -autoRebalanceMaxOffsetInfoValidInSeconds 1800 -autoRebalanceWorkloadRatioThreshold 1.5 -maxDedicatedLaggingInstancesRatio 0.2 -maxStuckPartitionMovements 3 -moveStuckPartitionAfterMinutes 20 -workloadRefreshPeriodInSeconds 300 -patternToExcludeTopics ^__.* -enableSrcKafkaValidation true -consumerCommitZkPath \"\" -maxWorkingInstances 0 -autoRebalanceDelayInSeconds 120 -refreshTimeInSeconds 600 -initWaitTimeInSeconds 120 -numOffsetThread 10 -blockingQueueSize 30000 -offsetRefreshIntervalInSec 300 -backUpToGit false -localBackupFilePath ./logs/ureplicator-controller -localGitRepoClonePath ./logs/ureplicator-controller-bkp\r\n\r\nworker:\r\njava -Dlog4j.configuration=file:config/test-log4j.properties -XX:MaxGCPauseMillis=100 -XX:InitiatingHeapOccupancyPercent=45 -verbose:gc -Xmx1g -Xms1g -XX:+UseG1GC -XX:+PrintGCDetails -XX:+PrintGCTimeStamps -XX:+PrintGCDateStamps -XX:+PrintTenuringDistribution -Xloggc:gc-ureplicator-worker.log -server -cp uReplicator-Worker/target/uReplicator-Worker-2.0.2-SNAPSHOT-jar-with-dependencies.jar com.uber.stream.ureplicator.worker.WorkerStarter -federated_enabled true -cluster_config config/clusters.properties -consumer_config config/consumer.properties -producer_config config/producer.properties -helix_config config/helix.properties\r\n\r\nI am really sorry for my novice questions. But i would really appreciate if someone can explain me what's wrong with my setup.\r\n\r\nregards,\r\nAbdul Hai Mohammed\r\n ","author":{"url":"https://github.com/amohammed3","@type":"Person","name":"amohammed3"},"datePublished":"2021-08-19T03:15:49.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":4},"url":"https://github.com/348/uReplicator/issues/348"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:b552f4d7-2e14-80dc-fb33-9591f1cab1c7 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | DF30:1E91CE:35CF6C4:45F8790:6992C6B2 |
| html-safe-nonce | ff1df230fb29f45911c897e9bbc37f007693c290f1ccce958fa0a21b4c17dc92 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJERjMwOjFFOTFDRTozNUNGNkM0OjQ1Rjg3OTA6Njk5MkM2QjIiLCJ2aXNpdG9yX2lkIjoiMzA1ODAzNzQ5OTg2OTk3MjE0NiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 7fd4bc406a029f340c0080a80f1be6e5e6992fe0bb86787b9b38ee12ac8f9b4e |
| hovercard-subject-tag | issue:974223859 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/uber/uReplicator/348/issue_layout |
| twitter:image | https://opengraph.githubassets.com/62db7bab20979e71392548c08ac325fb47d433f581355992fa711bb9eef0cc64/uber/uReplicator/issues/348 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/62db7bab20979e71392548c08ac325fb47d433f581355992fa711bb9eef0cc64/uber/uReplicator/issues/348 |
| og:image:alt | Hi there, I am doing a little poc to learn more about uReplicator and how it replicates the topics and messages I am new to kafka and uber uReplicator, i am trying to deploy federated uReplicator. ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | amohammed3 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 42c603b9d642c4a9065a51770f75e5e27132fef0e858607f5c9cb7e422831a7b |
| turbo-cache-control | no-preview |
| go-import | github.com/uber/uReplicator git https://github.com/uber/uReplicator.git |
| octolytics-dimension-user_id | 538264 |
| octolytics-dimension-user_login | uber |
| octolytics-dimension-repository_id | 60201162 |
| octolytics-dimension-repository_nwo | uber/uReplicator |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 60201162 |
| octolytics-dimension-repository_network_root_nwo | uber/uReplicator |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 84dcb133269e3cfe6e0296cc85fbacb92cae92bb |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width