rEEVB/20497a7d47a8master
/
README.md
EventBus
EventBus is a MediaWiki extension that produces changes to a RESTful event service.
This extension is part of a larger effort to create a general purpose event system, to reliably propagate state changes from one part of the infrastructure, to another. Since this approach relies upon hooks, it is not atomic (delivery of an event could fail after MediaWiki has committed the corresponding change), and so does not provide the reliability we're aiming for. Therefore, this extension should be considered an interim solution, until the requisite changes can be made to MediaWiki core.
Configuration
To configure the URL of the event service:
$wgEventServiceUrl = 'http://localhost:8085/v1/topics';
To configure the event service request timeout:
$wgEventServiceTimeout = 5; // 5 second timeout
License
EventBus is licensed under the GNU General Public License 2.0 or any later version. You may obtain a copy of this license at http://www.gnu.org/copyleft/gpl.html.