mlsorensen commented on issue #6778: URL: https://github.com/apache/cloudstack/issues/6778#issuecomment-1505550631
I think what's going on is that most things that publish to the cloudstack event bus use code like: ``` s_eventBus = ComponentContext.getComponent(EventBus.class); ... s_eventBus.publish(event); ``` So you can't for example have both RabbitMQ and Kafka enabled, or InMemory and Kafka. It just fetches one. From what I can tell, all event buses are disabled by default and need XML defining a bean to enable, so it is probably ok to have just one bus usable at a time. You aren't going to break internal code by switching event buses. However it could be a nice enhancement to publish to any and all EventBus components that are loaded. Where one might also run into issues is if you have coded a plugin to do something like `memoryBus.subscribe()`, but then switch the config to enable the Kafka event bus. The internal code will publish to only one, so you'd want to grab the one that is loaded rather than using the specific EventBus implementation directly. -- 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]
