Hi community,

Recently I found the behavior of seeking a multi-topics consumer is
intuitive. If there are no internal consumers, the `seek` call will
just succeed silently.

If a consumer subscribes with a regex and no topics are found, users
might think the seek operation succeeds while no topics are sought.

I suggest throwing an exception in this case to notify users that the
consumer to seek is a multi-topics consumer that contains no topics.
It's a breaking change so I'd like to hear more voices in the mail
list.

For now, I report an error for the C++ client [1], which might also
affect the Python and Node.js clients. But the behavior of the Java
client does not change.

[1] https://github.com/apache/pulsar-client-cpp/pull/426

Thanks,
Yunze

Reply via email to