Description
Hello, folks,
When I use "kafka-logger" plugin in Apache APISIX. I found that we can't set up more than one broker with the same host.
The reason is that we use a table to store the broker list, but the key is the host (which will be the same if we deploy more Kafka on one node), so I think we should support it.
By the way, the docs are incorrect: https://apisix.apache.org/docs/apisix/next/plugins/kafka-logger/#enabling-the-plugin
"broker_list" :
{
"127.0.0.1":9092,
"127.0.0.1":9093
},
What I want is:
"broker_list" :
[
{
"host":"127.0.0.1",
"port":9092
},
{
"host":"127.0.0.1",
"port":9093
}
]
Description
Hello, folks,
When I use "kafka-logger" plugin in Apache APISIX. I found that we can't set up more than one broker with the same host.
The reason is that we use a table to store the broker list, but the key is the host (which will be the same if we deploy more Kafka on one node), so I think we should support it.
By the way, the docs are incorrect: https://apisix.apache.org/docs/apisix/next/plugins/kafka-logger/#enabling-the-plugin
What I want is: