[][src]Module nakadi_types::event_type

Types for defining and monitoring event types

Structs

EventType

Definition of an event type

EventTypeAuthorization
EventTypeInput

Definition of an event type

EventTypeInputBuilder
EventTypeName

Name of an EventType. The name is constrained by a regular expression.

EventTypeOptions

Additional parameters for tuning internal behavior of Nakadi.

EventTypeSchema

The most recent schema for this EventType. Submitted events will be validated against it.

EventTypeStatistics

Operational statistics for an EventType. This data may be provided by users on Event Type creation. Nakadi uses this object in order to provide an optimal number of partitions from a throughput perspective.

PartitionKeyField

Part of PartitionKeyFields

PartitionKeyFields

Required when 'partition_resolution_strategy' is set to ‘hash’. Must be absent otherwise. Indicates the fields used for evaluation the partition of Events of this type.

RetentionTime

Number of milliseconds that Nakadi stores events published to this event type.

SchemaSyntax

The schema as string in the syntax defined in the field type.

Enums

Category

Defines the category of this EventType.

CleanupPolicy

Event type cleanup policy. There are two possible values.

CompatibilityMode

Compatibility mode provides a mean for event owners to evolve their schema, given changes respect the semantics defined by this field.

EnrichmentStrategy

Determines the enrichment to be performed on an Event upon reception. Enrichment is performed once upon reception (and after validation) of an Event and is only possible on fields that are not defined on the incoming Event.

EventTypeAudience

Intended target audience of the event type. Relevant for standards around quality of design and documentation, reviews, discoverability, changeability, and permission granting. See the guidelines https://opensource.zalando.com/restful-api-guidelines/#219

EventTypeSchemaInput

The most recent schema for this EventType. Submitted events will be validated against it.

PartitionStrategy

Determines how the assignment of the event to a partition should be handled.

SchemaType

The type of schema definition. Currently only json_schema (JSON Schema v04) is supported, but in the future there could be others.