I'm trying to get the frontend working with our Ka...
# ui
w
I'm trying to get the frontend working with our Kafka SSL so that analytics can be enabled, but for some reason the environment variables I'm setting don't seem to be getting picked up in the configuration. Ex:
KAFKA_PROPERTIES_SSL_TRUSTSTORE_LOCATION:                file:/etc/service/keys/client.truststore.jks
is set on the K8's pod but the config the producer is dumping says
ssl.truststore.location = null
. We're only on v0.8.1 but I thought support for this was added in v0.8.0 (PR: https://github.com/linkedin/datahub/pull/2620/files, Release: https://github.com/linkedin/datahub/releases/tag/v0.8.0). Sorry if I am missing something. The charts moved into another repo, so it's hard for me to tell where things changed.
FYI: @early-lamp-41924
e
Did you turn on analytics? Zack?
w
yeah I set
global.datahub_analytics_enabled
to
true
which sets the env var to
DATAHUB_ANALYTICS_ENABLED
to
true
on the frontend pod
e
and KAFKA_PROPERTIES_SECURITY_PROTOCOL is set right?
tho sorry about this, but ssl with prod analytics have recently been fixed
we will cut out a release soon
sidenote. unrelated to the question tho
KAFKA_PROPERTIES_SECURITY_PROTOCOL needs to be set to SSL
w
ah the pod has
KAFKA_PROPERTIES_SSL_PROTOCOL:                           TLS
. Let me see if this fixes it.
side note, what’re the KAFKASTORE env vars used for?
e
We just copied over the kafka settings that get set on other pods for consistency
but in v0.8.1 there is a bug where we require all of the variables
We just released v0.8.6
with the fix included!!
Can you try deploying? Should be a much smoother upgrade than before haha
w
probably not immediately. It doesn’t seem like that
KAFKA_PROPERTIES_SECURITY_PROTOCOL
did anything. For some reason the env vars don’t seem to be making it into the kafka producer
well if it doesn’t work with v0.8.1 then we can try to upgrade to fix this. I just wanted to know if that was required or not.
e
That’s very strange. that should’ve started reading new env variables and thrown an error bc you didn’t put in all of them
is the security protocol getting set at least?
Upgrade is required to enable kafka ssl with product analytics 😞 sorry about that
w
no the security protocol wasn’t being set with either the kafkastore setting or the normal properties. It also wasn’t logging any error.
Ok cool. Thanks for the help! I’ll circle back when we get to the upgrade.