@Immutable @ParametersAreNonnullByDefault public class EventUtilitiesConfig extends Object implements Serializable
create*() methods expect the client to manage wiring by taking
the collaborators of the class created as method arguments. This allows
the caller to decide on sharing instances or not. And it allows this class
to stay lightweight and without any mutable state.| Modifier and Type | Field and Description |
|---|---|
static EventUtilitiesConfig |
DEFAULT
Default values and instances to aide working with Event Streams in
Wikimedia Production.
|
static EventUtilitiesConfig |
EXTERNAL_DEFAULT
Default values and instances to aide working with Event Streams in
Wikimedia outside of production networks, e.g. schema.wikimedia.org
instead of schema.discovery.wmnet.
|
static String |
META_WIKIMEDIA_ORG |
| Constructor and Description |
|---|
EventUtilitiesConfig() |
| Modifier and Type | Method and Description |
|---|---|
EventLoggingSchemaLoader |
createEventloggingSchemaLoader(BasicHttpClient httpClient) |
EventSchemaLoader |
createEventSchemaLoader(BasicHttpClient httpClient) |
EventSchemaValidator |
createEventSchemaValidator(EventSchemaLoader eventSchemaLoader) |
EventStreamConfig |
createEventStreamConfig(EventStreamConfigLoader eventStreamConfigLoader) |
EventStreamFactory |
createEventStreamFactory(EventSchemaLoader eventSchemaLoader,
EventStreamConfig eventStreamConfig) |
BasicHttpClient |
createHttpClient() |
JsonEventGenerator |
createJsonEventGenerator(EventSchemaLoader eventSchemaLoader,
EventStreamConfig eventStreamConfig) |
MediawikiEventStreamConfigLoader |
createMediawikiEventStreamConfigLoader(BasicHttpClient httpClient) |
public static final String META_WIKIMEDIA_ORG
public static final EventUtilitiesConfig DEFAULT
public static final EventUtilitiesConfig EXTERNAL_DEFAULT
public BasicHttpClient createHttpClient()
public EventLoggingSchemaLoader createEventloggingSchemaLoader(BasicHttpClient httpClient)
public MediawikiEventStreamConfigLoader createMediawikiEventStreamConfigLoader(BasicHttpClient httpClient)
public EventStreamConfig createEventStreamConfig(EventStreamConfigLoader eventStreamConfigLoader)
public EventSchemaLoader createEventSchemaLoader(BasicHttpClient httpClient)
public EventStreamFactory createEventStreamFactory(EventSchemaLoader eventSchemaLoader, EventStreamConfig eventStreamConfig)
public EventSchemaValidator createEventSchemaValidator(EventSchemaLoader eventSchemaLoader)
public JsonEventGenerator createJsonEventGenerator(EventSchemaLoader eventSchemaLoader, EventStreamConfig eventStreamConfig)
Copyright © 2026. All rights reserved.