Package-level declarations

Types

Link copied to clipboard
@AutoConfiguration
@EnableConfigurationProperties(value = [WowProperties::class])
class InMemoryTopicsAutoConfiguration(environment: Environment)

The node's topics in its JVM, for trying a service out without Kafka (DX gap G27), when wow.transport selects them (TransportSelection.MEMORY: memory, or auto in development without a configured transport): one InMemoryTopics of wow.log.partitions partitions, each keeping its last wow.memory.topic-retention messages, unless the application has one of its own, as wow-kafka's beans give them on Kafka:

Link copied to clipboard

The Sinks the node's providers opened, each its subscriptions' factory; closed with the context.

Link copied to clipboard
@AutoConfiguration(after = [TransportAutoConfiguration::class])
@EnableConfigurationProperties(value = [WowProperties::class])
class SinkAutoConfiguration

The Sinks of the streams the service publishes: those the me.ahoo.wow.spi.sink providers on the classpath or among the application's beans find configured (PortProviders), the ClickHouse Sink by wow.clickhouse.sink.enabled=true alone, over the application's ClickHouse client when it has one, else one of wow.clickhouse.endpoint. Each is one subscription per published stream, named <processor>.<aggregate>, which the node takes with its subscription factories (ProvidedSinks).

Link copied to clipboard

The node's topic transport: the one a TransportProvider gives, found on the classpath or among the application's beans (PortProviders), configured by its keys (wow.kafka.* for Wow's Kafka transport). The host builds nothing of a broker's own: it takes the transport's ports.

Link copied to clipboard

What needs a topic transport in a node without one (TransportSelection.NONE), in words: its aggregate types routed through Kafka (wow.aggregates.[..].routing=topic), its failure ledger published to the ops context (wow.ops.publish.enabled), and the command intake (a transport's command-intake.enabled, intake). A sourced subscription or a saga's commands to another context need it too, which the node itself refuses when it is built.

Link copied to clipboard

The node's topic transport, as wow.transport selects it (derived, the key an override):