zhanghaou commented on PR #20341:
URL: https://github.com/apache/pulsar/pull/20341#issuecomment-1567992105
Thanks for replay.
We need to create some namespaces and topics during the initialization of
broker interceptors.
I agree that broker interceptors need to be initialized before broker
active, but what should I do if I need to use brokerService?
BrokerService is passed as a parameter into interceptor. initialize(), why
cannot it be used directly? If there are restrictions, do we need to explain
them in the document?
------------------ 原始邮件 ------------------
发件人:
"apache/pulsar"
***@***.***>;
发送时间: 2023年5月30日(星期二) 下午4:07
***@***.***>;
***@***.******@***.***>;
主题: Re: [apache/pulsar] [fix][broker] Initialize broker interceptors
after broker is ready. (PR #20341)
What @codelipenghui makes sense - interceptors must be init before pulsar
service is active.
Why do you need an active pulsar service for init? Do you have a use case to
present?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were assigned.Message ID: ***@***.***>
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]