Ask Your Question
1

Can Kafka Multitopic Consumer use a pipeline parameter in Topic List?

asked 2019-11-06 09:48:09 -0600

avdsa gravatar image

Hello,

I have began utilizing the Kafka Multitopic Consumer origin, and was wondering if it is possible to use a pipeline parameter within the Topic List field?

I was hoping to pass a list of values within a single pipeline parameter when I started my job template, but the Topic List field can only accept one value per list. When switching to bulk edit mode, if I attempt to insert my parameter as a list object i.e.

[ ${param} ]

an error occurs. Is there a solution to this that I am not understanding? Thank you for any help you can provide.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2019-11-06 16:01:19 -0600

iamontheinet gravatar image

Hi!

The only way you can provide a list of/multiple topics is by adding them separately. So basically configuring one pipeline parameter per Kafka topic and so the Topic List for Kafka Multitopic Consumer origin would like:

[
    "${KafkaTopic1}",
    "${KafkaTopic2}"
]

Cheers, Dash

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower

Stats

Asked: 2019-11-06 09:48:09 -0600

Seen: 7 times

Last updated: Nov 06