rdhabalia opened a new pull request #12287:
URL: https://github.com/apache/pulsar/pull/12287


   ### Motivation
   There are usecases for applications, adapters or connectors to know update 
of number of partitions and handle the change in applications when application 
is handling individual partitions in the workflow. Therefore, add API in 
interceptor to notify applications when number of partition changes for the 
topic.
   
   ### Modification
   - add API in interceptor to notify the application about partition change: 
`void onPartitionsChange(String topicName, int partitions)`
   -  it keeps interface backward compatible and existing applications don't 
have to make implementation changes.


-- 
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]


Reply via email to