rd_kafka_subscribe

@brief Subscribe to topic set using balanced consumer groups.

Wildcard (regex) topics are supported by the librdkafka assignor: any topic name in the \p topics list that is prefixed with \c \"^\" will be regex-matched to the full list of topics in the cluster and matching topics will be added to the subscription list.

@returns RD_KAFKA_RESP_ERR_NO_ERROR on success or RD_KAFKA_RESP_ERR__INVALID_ARG if list is empty, contains invalid topics or regexes.

extern (C) nothrow @nogc
rd_kafka_subscribe

Meta