Liking cljdoc? Tell your friends :D

kafka-metamorphosis.schema

Schema management for Kafka messages

Schema management for Kafka messages
raw docstring

consume-schema-messages!clj

(consume-schema-messages! group-id topics schema-id)
(consume-schema-messages! group-id topics schema-id opts)

Consume messages with schema validation.

Consume messages with schema validation.
sourceraw docstring

defschemaclj

(defschema schema-id spec-map)

Define and register a schema with the given ID and specification map.

Returns the schema ID.

Define and register a schema with the given ID and specification map.

Returns the schema ID.
sourceraw docstring

explain-validationclj

(explain-validation message schema-id)

Get detailed validation explanation

Get detailed validation explanation
sourceraw docstring

get-schemaclj

(get-schema schema-id)

Get a registered schema

Get a registered schema
sourceraw docstring

list-schemasclj

(list-schemas)

List all registered schemas

List all registered schemas
sourceraw docstring

map-ofclj

(map-of key-pred value-pred)

Create a predicate for maps with specific key-value predicates

Create a predicate for maps with specific key-value predicates
sourceraw docstring

max-countclj

(max-count n)

Create a predicate for maximum collection size

Create a predicate for maximum collection size
sourceraw docstring

min-countclj

(min-count n)

Create a predicate for minimum collection size

Create a predicate for minimum collection size
sourceraw docstring

one-ofclj

(one-of & values)

Create a predicate that accepts one of the given values

Create a predicate that accepts one of the given values
sourceraw docstring

send-schema-message!clj

(send-schema-message! topic value schema-id)
(send-schema-message! topic key value schema-id)
(send-schema-message! topic key value schema-id producer-opts)

Send a message validated against a schema.

Send a message validated against a schema.
sourceraw docstring

validate-messageclj

(validate-message message schema-id)

Validate a message against a schema

Validate a message against a schema
sourceraw docstring

with-schema-deserializationclj

(with-schema-deserialization deserializers schema-id)

Wrap deserializers with schema validation

Wrap deserializers with schema validation
sourceraw docstring

with-schema-serializersclj

(with-schema-serializers serializers schema-id)

Wrap serializers with schema validation

Wrap serializers with schema validation
sourceraw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close