i have this error --- [3:44 PM] [main] INFO org.ap...
# troubleshoot
m
i have this error --- [3:44 PM] [main] INFO org.apache.kafka.common.utils.AppInfoParser - Kafka version: 6.1.4-ccs [main] INFO org.apache.kafka.common.utils.AppInfoParser - Kafka commitId: c9124241a6ff43bc [main] INFO org.apache.kafka.common.utils.AppInfoParser - Kafka startTimeMs: 1667849230200 WARNING: Due to limitations in metric names, topics with a period ('.') or underscore ('_') could collide. To avoid issues it is best to use either, but not both. Created topic MetadataAuditEvent_v4. WARNING: Due to limitations in metric names, topics with a period ('.') or underscore ('_') could collide. To avoid issues it is best to use either, but not both. Created topic MetadataChangeEvent_v4. WARNING: Due to limitations in metric names, topics with a period ('.') or underscore ('_') could collide. To avoid issues it is best to use either, but not both. Created topic FailedMetadataChangeEvent_v4. WARNING: Due to limitations in metric names, topics with a period ('.') or underscore ('_') could collide. To avoid issues it is best to use either, but not both. Created topic MetadataChangeLog_Versioned_v1. WARNING: Due to limitations in metric names, topics with a period ('.') or underscore ('_') could collide. To avoid issues it is best to use either, but not both. Created topic MetadataChangeLog_Timeseries_v1. WARNING: Due to limitations in metric names, topics with a period ('.') or underscore ('_') could collide. To avoid issues it is best to use either, but not both. Created topic MetadataChangeProposal_v1. WARNING: Due to limitations in metric names, topics with a period ('.') or underscore ('_') could collide. To avoid issues it is best to use either, but not both. Created topic FailedMetadataChangeProposal_v1. WARNING: Due to limitations in metric names, topics with a period ('.') or underscore ('_') could collide. To avoid issues it is best to use either, but not both. Created topic PlatformEvent_v1. WARNING: Due to limitations in metric names, topics with a period ('.') or underscore ('_') could collide. To avoid issues it is best to use either, but not both. Created topic DataHubUsageEvent_v1. Error while executing config command with args '--command-config /tmp/connection.properties --bootstrap-server b-1.prodproddatahubekspro.5w4ibt.c17.kafka.us-east-1.amazonaws.com:9092,b-2.prodproddatahubekspro.5w4ibt.c17.kafka.us-east-1.amazonaws.com:9092 --entity-type topics --entity-name _schemas --alter --add-config cleanup.policy=compact' java.util.concurrent.ExecutionException: org.apache.kafka.common.errors.UnknownTopicOrPartitionException: at org.apache.kafka.common.internals.KafkaFutureImpl.wrapAndThrow(KafkaFutureImpl.java:45) at org.apache.kafka.common.internals.KafkaFutureImpl.access$000(KafkaFutureImpl.java:32) at org.apache.kafka.common.internals.KafkaFutureImpl$SingleWaiter.await(KafkaFutureImpl.java:104) at org.apache.kafka.common.internals.KafkaFutureImpl.get(KafkaFutureImpl.java:272) at kafka.admin.ConfigCommand$.getResourceConfig(ConfigCommand.scala:552) at kafka.admin.ConfigCommand$.alterConfig(ConfigCommand.scala:322) at kafka.admin.ConfigCommand$.processCommand(ConfigCommand.scala:302) at kafka.admin.ConfigCommand$.main(ConfigCommand.scala:97) at kafka.admin.ConfigCommand.main(ConfigCommand.scala) Caused by: org.apache.kafka.common.errors.UnknownTopicOrPartitionException: [3:45 PM] is when i want to use kafka of aws
i
Hello Gabriel, Please do not cross-post messages across different channels. This makes it harder for the core DataHub team to keep track of unanswered & unresolved questions. Thanks.
m
hi. i followed this link https://datahubproject.io/docs/deploy/aws and they do no put credentials
i
That guide is specific to aws only in regards to Elastic Kubernetes Service (EKS) not MSK (AWS’s kafka offering).
m
Yes, I know. but what is the solution to the problem?
i
You need to add credentials to the kafka job, this will depending on your own setup.
Possibly generate some certificate, create a k8s secret with it and then mount the secret in the kafka setup job.
Note that if you have auth in the kafka cluster, this secret config also needs to be applied to GMS, standalone consumers (if you’re using them) and schema registry (if deployed via the prerequisite chart)
DataHub helm charts are prepared with a
global.kafka
section to apply kafka-related changes across all DataHub components. See https://github.com/acryldata/datahub-helm/blob/94d3af2a808df923be98eede050c5a363319ace9/charts/datahub/values.yaml#L125
m
i put full access without key right now. that is say the docs
because it can only be seen from within the eks cluster
I tried by hand and kafka works but datahub doesn't work. I am missing something in the configuration
i
How are you connecting to kafka by hand? How are the consumers configured?
What configuration options are you using to connect to the cluster?
m
create with terra in the some vpc
free access
2 nodes
with the link that you pass
i
I mean the client, when you are connecting to the kafka cluster
m
this
i
And how are you connecting locally where it works?
I tried by hand and kafka works