Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Expression language work for kafka Brokers propertie of PublishKafka_0_10 ?

Solved Go to solution

Expression language work for kafka Brokers propertie of PublishKafka_0_10 ?

New Contributor

Hello,

I use a HandleHttpRequest to get a POST request with 2 parameters (kafkaHost and kafkaPort)

I can see my param in the attribute of the data (http.param.kafkaHost and http.param.kafkaPort)

I want to use them in a PublishKafka_0_10 to define kafka Brokers propertie (support expression language)

like this : Kafka Brokers = ${http.param.kafkaHost}:${http.param.kafkaPort}

It's doesn't works, my attributes aren't use (log file : bootstrap.servers = [:])

There is a solution ?

1 ACCEPTED SOLUTION

Accepted Solutions

Re: Expression language work for kafka Brokers propertie of PublishKafka_0_10 ?

2 REPLIES 2

Re: Expression language work for kafka Brokers propertie of PublishKafka_0_10 ?

Re: Expression language work for kafka Brokers propertie of PublishKafka_0_10 ?

New Contributor

oh yes ! sorry for that.