<#C029A3M079U|troubleshoot> I am facing connectivi...
# troubleshoot
c
#troubleshoot I am facing connectivity issue while using separate instance of Kafka with datahub, it seems that during initial deployment
datahub-actions
run some ingestion over kafka stream, but since I have protected kafka, that does not use simple ssl connection instead uses
sasl
, it is not passing the correct parameter required to connect. This is the kafka config that I am using
Copy code
security.protocol: SASL_SSL
    sasl.mechanism: SCRAM-SHA-512
    client.sasl.mechanism: SCRAM-SHA-512
    kafkastore.security.protocol: SSL
    ssl.endpoint.identification.algorithm: https
    ssl.keystore.type: JKS
    ssl.protocol: TLSv1.2
    ssl.truststore.type: JKS
even though they are passed correctly to the container
env
variables but are not populated in the config file that gets executed here is the config that was generated (found from container logs)
Copy code
{'source': 
    {   'type': 'datahub-stream', 
        'config': {
            'auto_offset_reset': 'latest', 
            'connection': {
                'bootstrap': 'XXXXXXXXXXXXXX', 
                'schema_registry_url': 'XXXXXXXXXXXXX', 
                'consumer_config': {'security.protocol': 'SASL_SSL'}
                }, 
            'actions': [
                {   'type': 'executor', 
                    'config': {
                        'local_executor_enabled': True, 
                        'remote_executor_enabled': 'False', 
                        'remote_executor_type': 'acryl.executor.sqs.producer.sqs_producer.SqsRemoteExecutor', 
                        'remote_executor_config': {
                            'id': 'remote', 
                            'aws_access_key_id': '""', 
                            'aws_secret_access_key': '""', 
                            'aws_session_token': '""', 
                            'aws_command_queue_url': '""', 
                            'aws_region': '""'
                        }
                    }
                }
            ], 
            'topic_routes': {
                'mae': 'MetadataAuditEvent_v4', 
                'mcl': 'MetadataChangeLog_Versioned_v1'
            }
        }
    }, 
    'sink': {'type': 'console'}, 
    'datahub_api': {'server': '<http://datahub-datahub-gms:8080>', 'extra_headers': {'Authorization': 'Basic __datahub_system:NOTPASSING'}}
}
as in the above config it is clear that other required configuration are not getting passed, I have raised a bug, any help is appreciated.
l
Hi @chilly-elephant-51826 - are you still hitting this issue?
c
got a way around from @big-carpet-38439, but thinking can there be an easier way to do this rather to mount ?
b
Is there?
We'd be happy to hear feedback about specifically how to improve this one