Extension:EventStreamConfig

From Linux Web Expert

The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
MediaWiki extensions manual
EventStreamConfig
Release status: stable
Implementation API
Description Exposes event stream config in an API endpoint. Can also be used to expose configs via ResourceLoader
Author(s) Andrew Otto (Ottomatatalk)
Compatibility policy Master maintains backward compatibility.
MediaWiki >= 1.42
Composer mediawiki/event-stream-config
License GNU General Public License 2.0 or later
Download
README
Help Help:Extension:EventStreamConfig

  • wgEventStreams
Quarterly downloads Lua error in Module:Extension at line 172: bad argument #1 to 'inNamespace' (unrecognized namespace name 'skin').
Public wikis using Lua error in Module:Extension at line 172: bad argument #1 to 'inNamespace' (unrecognized namespace name 'skin').
Translate the EventStreamConfig extension if it is available at translatewiki.net
Issues Open tasks · Report a bug

The EventStreamConfig extension is a utility extension that provides library functions and an API endpoint for exporting event stream configuration, using the variable $wgEventStreams. It does not directly provide any user functionality; rather, it provides code used by other extensions and services. Other software that uses this extension includes:

  • The EventLogging extension - used to load configs for streams used on certain pages to dynamically configure client stream settings, like sampling rate.
  • The EventBus extension - used to figure out which event intake service a given stream should be produced to.
  • The EventGate service - used to ensure that only events of a specific schema title are allowed into a stream.
  • Mobile apps - API endpoint is used to dynamically configure client stream settings like sample rate.

For more information on EventStreamConfig and how to use it, see Help:Extension:EventStreamConfig .