KxSystems / kafka

kdb+ to Apache Kafka adapter, for pub/sub
https://code.kx.com/q/interfaces
Apache License 2.0
50 stars 30 forks source link

Issue with special character #86

Closed vyomsinghal closed 3 years ago

vyomsinghal commented 3 years ago

Description While using the kdb kafka wrapper to send data to AWS MSK, we encountered an error with a special character. When we create an AWS MSK broker, it generates an URL which contains the hyphen "-" e.g. b-1.aws.east-us.awsmks.com. Due to the hyphen in the URL when we try to pass broker URL in configuration, Q command throws an error. To Reproduce Please use any URL which has hyphen - in it as a broker url. For e.g kfk_cfg:(!) . flip( (metadata.broker.list;b-2.poc-cluster-1.lergsf.kafka.ap-southeast-1.amazonaws.com:9092); (statistics.interval.ms;10000); (queue.buffering.max.ms;1); (fetch.wait.max.ms;10) );`

Expected behavior Q should not restrict to use AWS URLS with special characters including hyphens.

cmccarthy1 commented 3 years ago

This is a duplication of #85 please indicate any differences in that issue