salmon-area-51650
02/23/2022, 12:24 PMvalues.yaml?
Thanks in advance!early-lamp-41924
02/23/2022, 5:02 PMnutritious-bird-77396
02/23/2022, 5:53 PMearly-lamp-41924
02/23/2022, 6:20 PMsalmon-area-51650
02/24/2022, 7:40 AMkafka section in values.yaml, right?early-lamp-41924
02/24/2022, 7:43 AMearly-lamp-41924
02/24/2022, 7:44 AMsalmon-area-51650
02/24/2022, 7:49 AMsalmon-area-51650
02/24/2022, 9:04 AMdatahub-kafka-setup job
Could not find a 'KafkaClient' entry in the JAAS configuration. System property 'java.security.auth.login.config' is not set
This is my configuration in values.yaml
datahub-gms:
enabled: true
image:
repository: linkedin/datahub-gms
tag: "v0.8.26"
datahub-frontend:
enabled: true
image:
repository: linkedin/datahub-frontend-react
tag: "v0.8.26"
# Set up ingress to expose react front-end
ingress:
enabled: false
datahub-mae-consumer:
image:
repository: linkedin/datahub-mae-consumer
tag: "v0.8.26"
datahub-mce-consumer:
image:
repository: linkedin/datahub-mce-consumer
tag: "v0.8.26"
kafkaSetupJob:
enabled: true
image:
repository: linkedin/datahub-kafka-setup
tag: "v0.8.26"
global:
graph_service_impl: elasticsearch
datahub_analytics_enabled: true
datahub_standalone_consumers_enabled: false
elasticsearch:
host: "<http://XXXXXX.eu-west-2.es.amazonaws.com|XXXXXX.eu-west-2.es.amazonaws.com>"
port: "443"
useSSL: "true"
kafka:
bootstrap:
server: "<http://XXXXXX.kafka.eu-west-2.amazonaws.com:9096,YYYYY.kafka.eu-west-2.amazonaws.com:9096,ZZZZZ.kafka.eu-west-2.amazonaws.com:9096|XXXXXX.kafka.eu-west-2.amazonaws.com:9096,YYYYY.kafka.eu-west-2.amazonaws.com:9096,ZZZZZ.kafka.eu-west-2.amazonaws.com:9096>"
zookeeper:
server: "<http://AAAAAA.kafka.eu-west-2.amazonaws.com:2181,BBBBB.kafka.eu-west-2.amazonaws.com:2181,CCCC.kafka.eu-west-2.amazonaws.com:2181|AAAAAA.kafka.eu-west-2.amazonaws.com:2181,BBBBB.kafka.eu-west-2.amazonaws.com:2181,CCCC.kafka.eu-west-2.amazonaws.com:2181>"
partitions: 3
replicationFactor: 3
schemaregistry:
url: "<http://SSSSS.kafka.svc.cluster.local>"
sql:
datasource:
host: "<http://XXXXXX.eu-west-2.rds.amazonaws.com:3306|XXXXXX.eu-west-2.rds.amazonaws.com:3306>"
hostForMysqlClient: "<http://XXXXXXX.eu-west-2.rds.amazonaws.com|XXXXXXX.eu-west-2.rds.amazonaws.com>"
port: "3306"
url: "jdbc:<mysql://XXXXXXX.eu-west-2.rds.amazonaws.com:3306/myuser?verifyServerCertificate=false&useSSL=true&useUnicode=yes&characterEncoding=UTF-8&enabledTLSProtocols=TLSv1.2>"
driver: "com.mysql.cj.jdbc.Driver"
username: "datahub_user"
password:
secretRef: mysql-credentials
secretKey: mysql_user-password
datahub:
gms:
port: "8080"
nodePort: "30001"
mae_consumer:
port: "9091"
nodePort: "30002"
appVersion: "1.0"
encryptionKey:
secretRef: "datahub-encryption-secrets"
secretKey: "encryption_key_secret"
# Set to false if you'd like to provide your own secret.
provisionSecret: true
managed_ingestion:
enabled: true
defaultCliVersion: "0.8.26.6"
metadata_service_authentication:
enabled: false
systemClientId: "__datahub_system"
systemClientSecret:
secretRef: "datahub-auth-secrets"
secretKey: "token_service_signing_key"
tokenService:
signingKey:
secretRef: "datahub-auth-secrets"
secretKey: "token_service_signing_key"
# Set to false if you'd like to provide your own auth secrets
provisionSecrets: true
springKafkaConfigurationOverrides:
security.protocol: "SASL_SSL"
sasl.mechanism: "SCRAM-SHA-512"
sasl.jaas.config: org.apache.kafka.common.security.scram.ScramLoginModule required username="XXXXXXXX" password="YYYYYYYYY";
cc @early-lamp-41924 @nutritious-bird-77396
Thanks in advance!salmon-area-51650
02/24/2022, 11:47 AMacryl-datahub-actions pod
KafkaException: KafkaError{code=_INVALID_ARG,val=-186,str="Failed to create consumer: No provider for SASL mechanism GSSAPI: recompile librdkafka with libsasl2 or openssl support. Current build options: PLAIN SASL_SCRAM OAUTHBEARER"}
I think this pod is executing a Python code and that job is not picking up the authentication configurationsalmon-area-51650
03/02/2022, 4:48 PMacryl-datahub-actions pod is not picking up the configuration parameters from spring properties?
Also… what is acryl-datahub-actions for?
Thanks in advance!nutritious-bird-77396
03/02/2022, 5:16 PMacryl-datahub-actions is for scheduling your ingestion jobs that is set from the UI. Its part of the actions framework. It was released part of v0.8.26 version
Also as i understand from @early-lamp-41924 its a python project so it will not pickup the spring configuration params instead you should try setting the config params without SPRING prefix.
As actions code is not open sourced yet only the image has been published I have not gotten a chance to look into the details yet.early-lamp-41924
03/02/2022, 6:47 PMsalmon-area-51650
03/03/2022, 8:11 AMKAFKA_PROPERTIES_ properties should be extracted from springKafkaConfigurationOverrides section right?rapid-sundown-8805
03/03/2022, 12:14 PMKAFKA_PROPERTIES_* env variables as extraEnvs for this container in the helm chart values.yaml ?rapid-sundown-8805
03/03/2022, 3:00 PMKAFKA_PROPERTIES_* env variables are indeed set on the container, but it seems they are not picked up by the app somehow.breezy-agent-56904
06/06/2022, 2:51 PMtall-fall-45442
06/12/2022, 10:22 PMsalmon-area-51650
06/13/2022, 7:16 AMkafka:
bootstrap:
server: "broker1:9096,broker2:9096,broker3:9096"
zookeeper:
server: "zookeeper1:2181,zookeeper2:2181,zookeeper3:2181"
partitions: 3
replicationFactor: 3
schemaregistry:
url: "<http://schema.registry:8081>"
credentialsAndCertsSecrets:
name: sasl-jass-config
secureEnv:
sasl.jaas.config: sasl_jaas_config
springKafkaConfigurationOverrides:
security.protocol: "SASL_SSL"
sasl.mechanism: "SCRAM-SHA-512"
There is a secret called sasl_jaas_config which contains the following:
sasl_jaas_config: org.apache.kafka.common.security.scram.ScramLoginModule required username='kafka_user' password='kafka_user_pass';tall-fall-45442
06/13/2022, 4:44 PM[main] ERROR io.confluent.admin.utils.cli.KafkaReadyCommand - Error while running kafka-ready.
org.apache.kafka.common.KafkaException: Failed to create new KafkaAdminClient
at org.apache.kafka.clients.admin.KafkaAdminClient.createInternal(KafkaAdminClient.java:535)
at org.apache.kafka.clients.admin.Admin.create(Admin.java:75)
at org.apache.kafka.clients.admin.AdminClient.create(AdminClient.java:49)
at io.confluent.admin.utils.ClusterStatus.isKafkaReady(ClusterStatus.java:138)
at io.confluent.admin.utils.cli.KafkaReadyCommand.main(KafkaReadyCommand.java:150)
Caused by: java.lang.IllegalArgumentException: Could not find a 'KafkaClient' entry in the JAAS configuration. System property 'java.security.auth.login.config' is not set
at org.apache.kafka.common.security.JaasContext.defaultContext(JaasContext.java:131)
at org.apache.kafka.common.security.JaasContext.load(JaasContext.java:96)
at org.apache.kafka.common.security.JaasContext.loadClientContext(JaasContext.java:82)
at org.apache.kafka.common.network.ChannelBuilders.create(ChannelBuilders.java:134)
at org.apache.kafka.common.network.ChannelBuilders.clientChannelBuilder(ChannelBuilders.java:73)
at org.apache.kafka.clients.ClientUtils.createChannelBuilder(ClientUtils.java:105)
at org.apache.kafka.clients.admin.KafkaAdminClient.createInternal(KafkaAdminClient.java:508)
... 4 moresalmon-area-51650
06/14/2022, 8:02 AMsasl_jaas_config. Can you check that it’s correct? Are you sure that you have SASL/SCRAM enabled in your MSK?