Skip to content

custom librdkafka options#48

Open
RekGRpth wants to merge 1 commit into
adjust:masterfrom
RekGRpth:custom-librdkafka-options
Open

custom librdkafka options#48
RekGRpth wants to merge 1 commit into
adjust:masterfrom
RekGRpth:custom-librdkafka-options

Conversation

@RekGRpth

@RekGRpth RekGRpth commented Dec 1, 2023

Copy link
Copy Markdown
Contributor

I use custom librdkafka options for kerberos authentification

CREATE SERVER sasl_plaintext FOREIGN DATA WRAPPER kafka_fdw OPTIONS (
    brokers 'localhost:9093',
    "#sasl.kerberos.keytab" '/etc/krb5.keytab',
    "#sasl.kerberos.kinit.cmd" 'kinit -V -R -t %{sasl.kerberos.keytab} -k %{sasl.kerberos.principal} || kinit -V -t %{sasl.kerberos.keytab} -k %{sasl.kerberos.principal}',
    "#sasl.kerberos.min.time.before.relogin" '1000',
    "#sasl.kerberos.principal" 'kafka/localhost',
    "#sasl.kerberos.service.name" 'kafka',
    "#security.protocol" 'sasl_plaintext'
);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant