You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2021/08/20 11:35:07 UTC

[GitHub] [pulsar] abhilashmandaliya opened a new issue #11727: Allow message router to be passed as a class name for MessageRoutingMode.CustomPartition

abhilashmandaliya opened a new issue #11727:
URL: https://github.com/apache/pulsar/issues/11727


   **Is your enhancement request related to a problem? Please describe.**
   Currently, we can set `messageRoutingMode` and `messageRouter` via the `ProducerBuilder`. `messageRouter` takes a class object as a parameter. We should have an option to take the class name as an input and create the object at runtime. One use case where this will help is to extend the functionality of source connectors where a user may provide class name as part of his connector's config file and a connector calls `loadConf` method of `ProducerBuilder` which will create the instance of his class implementing 'MessageRouter' at runtime.
   
   **Describe the solution you'd like**
   Create a new field having the name `messageRouterClassName`  whose instance will be created at run time. It will get precedence over 'messageRouter` in builder if someone configures both from code. This will not happen if one uses the `loadConf` method of `ProducerBuilder`.
   


-- 
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: commits-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [pulsar] codelipenghui commented on issue #11727: Allow message router to be passed as a class name for MessageRoutingMode.CustomPartition

Posted by GitBox <gi...@apache.org>.
codelipenghui commented on issue #11727:
URL: https://github.com/apache/pulsar/issues/11727#issuecomment-1058886989


   The issue had no activity for 30 days, mark with Stale label.


-- 
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: commits-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [pulsar] abhilashmandaliya commented on issue #11727: Allow message router to be passed as a class name for MessageRoutingMode.CustomPartition

Posted by GitBox <gi...@apache.org>.
abhilashmandaliya commented on issue #11727:
URL: https://github.com/apache/pulsar/issues/11727#issuecomment-904333303


   closing the issue as the PR has been closed.


-- 
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: commits-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [pulsar] abhilashmandaliya commented on issue #11727: Allow message router to be passed as a class name for MessageRoutingMode.CustomPartition

Posted by GitBox <gi...@apache.org>.
abhilashmandaliya commented on issue #11727:
URL: https://github.com/apache/pulsar/issues/11727#issuecomment-906913811


   I am reopening the PR in case other people want to discuss this


-- 
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: commits-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [pulsar] abhilashmandaliya edited a comment on issue #11727: Allow message router to be passed as a class name for MessageRoutingMode.CustomPartition

Posted by GitBox <gi...@apache.org>.
abhilashmandaliya edited a comment on issue #11727:
URL: https://github.com/apache/pulsar/issues/11727#issuecomment-906913811


   I am reopening the issue in case other people want to discuss this


-- 
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: commits-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [pulsar] abhilashmandaliya closed issue #11727: Allow message router to be passed as a class name for MessageRoutingMode.CustomPartition

Posted by GitBox <gi...@apache.org>.
abhilashmandaliya closed issue #11727:
URL: https://github.com/apache/pulsar/issues/11727


   


-- 
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: commits-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org