Hello, Sinan,

I hold the opposite view on this matter. There is no need to provide
the index parameter for this admin API, just as there is no need to
add an index as a parameter for every interface that uses message ID
as an input.

If a user chooses to use an index instead of a message ID, they should
maintain the mapping relationship between the message ID and the index
themselves. Pulsar's APIs, however, should exclusively use the message
ID as a parameter.

PIP-415 exists exactly to assist users in maintaining this mapping
relationship between message IDs and indices.

BR,
Xiangying

Reply via email to