修改 MSK 连接器中的 client.dns.lookup

huangapple go评论68阅读模式
英文:

Alter client.dns.lookup in MSK connector

问题

我有一个AWS MSK托管连接器,似乎使用了这个默认配置 - client.dns.lookup = use_all_dns_ips

我想更改这个值,但当我尝试在连接器配置中设置 client.dns.lookup 时,似乎没有任何变化。是否可能不支持或者我没有正确指定它?

client.dns.lookup=resolve_canonical_bootstrap_servers_only

提前感谢。

英文:

I have an AWS MSK managed connector which seems to use this default configuration - client.dns.lookup = use_all_dns_ips

I'd like to change this value but when I try set client.dns.lookup in connector configurations it appears that it makes no difference. Could it be that it's not supported or am i specifying it incorrectly?

client.dns.lookup=resolve_canonical_bootstrap_servers_only

Thanks in advance,

答案1

得分: 0

你需要复制这个值,并在其前面加上producer.override.和/或consumer.override.作为源/汇改变连接器内客户端行为的前缀。

https://kafka.apache.org/documentation/#connect_running

否则,你需要访问并修改工作属性以使用该配置。

英文:

You need to duplicate the value with a prefix of producer.override. and/or consumer.override. respectively for source/sink to alter client behavior within a connector.

https://kafka.apache.org/documentation/#connect_running

Otherwise, you need access to modify the worker properties with that config.

答案2

得分: 0

我已经明白这是不可能的。自定义工作程序配置不支持此值,也不支持producer.override

https://docs.aws.amazon.com/msk/latest/developerguide/msk-connect-workers.html

英文:

I've since understood this is not possible. Custom worker configuration does not support this value, nor does it support producer.override.

https://docs.aws.amazon.com/msk/latest/developerguide/msk-connect-workers.html

huangapple
  • 本文由 发表于 2023年4月13日 23:48:25
  • 转载请务必保留本文链接:https://go.coder-hub.com/76007423.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定