pnoltes commented on issue #515:
URL: https://github.com/apache/celix/issues/515#issuecomment-2030238454

   > Maybe we can implement an EventAdminWrapper, which implements the Event 
Admin Service, and its service ranking is the highest. In this way, 
EventAdminWrapper can forward events to remote (use EventRemoteProvider) or to 
local (use EventAdmin). And EventAdmin can be unaware of remote events.
   
   > In addition, should we consider multiple EventRemoteProviders existing? If 
yes, EventAdminWrapper can also be used to implement a strategy to select the 
perfect EventRemoteProvider to forward remote events.
   
   Rethinking this, I think the proposed solution (using a 
`celix_event_remote_provider_service_t`) is a cleaner setup. 
   
   > For the MQTT broker address information, it maybe requires dynamic 
discovery in my work.Maybe we can implement dynamic discovery in the following 
ways
   
   If discovery is needed, RSA indeed could be used for this. Maybe a bit an 
overkill, but on the other hand the code exists, is tested and can be used for 
this (marker interface with some configuration properties). 
   


-- 
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: dev-unsubscr...@celix.apache.org

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

Reply via email to