Table of Contents

Class StreamsBuilder

Namespace
MASES.KNet.Streams
Assembly
MASES.KNet.dll

KNet extension of StreamsBuilder

public class StreamsBuilder : IGenericSerDesFactoryApplier
Inheritance
StreamsBuilder
Implements
Inherited Members

Constructors

StreamsBuilder(StreamsConfigBuilder)

public StreamsBuilder(StreamsConfigBuilder factory)

Parameters

factory StreamsConfigBuilder

StreamsConfigBuilder used as reference of IGenericSerDesFactory

StreamsBuilder(TopologyConfig)

public StreamsBuilder(TopologyConfig arg0)

Parameters

arg0 TopologyConfig

TopologyConfig

Properties

OverrideProperties

public static Func<StreamsConfigBuilder, Properties> OverrideProperties { get; set; }

Property Value

Func<StreamsConfigBuilder, Properties>

Methods

AddStateStore(StoreBuilder)

public StreamsBuilder AddStateStore(StoreBuilder arg0)

Parameters

arg0 StoreBuilder

StoreBuilder

Returns

StreamsBuilder

StreamsBuilder

Build()

public Topology Build()

Returns

Topology

Topology

Build(Properties)

public Topology Build(Properties arg0)

Parameters

arg0 Properties

Properties

Returns

Topology

Topology

GlobalTable<K, V, TJVMK, TJVMV>(string)

public GlobalKTable<K, V, TJVMK, TJVMV> GlobalTable<K, V, TJVMK, TJVMV>(string arg0)

Parameters

arg0 string

string

Returns

GlobalKTable<K, V, TJVMK, TJVMV>

GlobalKTable<K, V, TJVMK, TJVMV>

Type Parameters

K

The key type

V

The value type

TJVMK

The JVM type of K

TJVMV

The JVM type of V

GlobalTable<K, V, TJVMK, TJVMV>(string, Consumed<K, V, TJVMK, TJVMV>)

public GlobalKTable<K, V, TJVMK, TJVMV> GlobalTable<K, V, TJVMK, TJVMV>(string arg0, Consumed<K, V, TJVMK, TJVMV> arg1)

Parameters

arg0 string

string

arg1 Consumed<K, V, TJVMK, TJVMV>

Consumed<K, V, TJVMK, TJVMV>

Returns

GlobalKTable<K, V, TJVMK, TJVMV>

GlobalKTable<K, V, TJVMK, TJVMV>

Type Parameters

K

The key type

V

The value type

TJVMK

The JVM type of K

TJVMV

The JVM type of V

GlobalTable<K, V, TJVMK, TJVMV>(string, Consumed<K, V, TJVMK, TJVMV>, Materialized<K, V, TJVMK, TJVMV>)

public GlobalKTable<K, V, TJVMK, TJVMV> GlobalTable<K, V, TJVMK, TJVMV>(string arg0, Consumed<K, V, TJVMK, TJVMV> arg1, Materialized<K, V, TJVMK, TJVMV> arg2)

Parameters

arg0 string

string

arg1 Consumed<K, V, TJVMK, TJVMV>

Consumed<K, V, TJVMK, TJVMV>

arg2 Materialized<K, V, TJVMK, TJVMV>

Materialized<K, V, TJVMK, TJVMV>

Returns

GlobalKTable<K, V, TJVMK, TJVMV>

GlobalKTable<K, V, TJVMK, TJVMV>

Type Parameters

K

The key type

V

The value type

TJVMK

The JVM type of K

TJVMV

The JVM type of V

GlobalTable<K, V, TJVMK, TJVMV>(string, Materialized<K, V, TJVMK, TJVMV>)

public GlobalKTable<K, V, TJVMK, TJVMV> GlobalTable<K, V, TJVMK, TJVMV>(string arg0, Materialized<K, V, TJVMK, TJVMV> arg1)

Parameters

arg0 string

string

arg1 Materialized<K, V, TJVMK, TJVMV>

Materialized<K, V, TJVMK, TJVMV>

Returns

GlobalKTable<K, V, TJVMK, TJVMV>

GlobalKTable<K, V, TJVMK, TJVMV>

Type Parameters

K

The key type

V

The value type

TJVMK

The JVM type of K

TJVMV

The JVM type of V

PrepareProperties(StreamsConfigBuilder)

Override this method to check and modify the Properties returned to underlying KafkaStreams

protected virtual Properties PrepareProperties(StreamsConfigBuilder builder)

Parameters

builder StreamsConfigBuilder

StreamsConfigBuilder to use to return Properties

Returns

Properties

Properties used from underlying KafkaStreams

Stream<K, V, TJVMK, TJVMV>(Pattern)

public KStream<K, V, TJVMK, TJVMV> Stream<K, V, TJVMK, TJVMV>(Pattern arg0)

Parameters

arg0 Pattern

Pattern

Returns

KStream<K, V, TJVMK, TJVMV>

KStream<K, V, TJVMK, TJVMV>

Type Parameters

K

The key type

V

The value type

TJVMK

The JVM type of K

TJVMV

The JVM type of V

Stream<K, V, TJVMK, TJVMV>(Pattern, Consumed<K, V, TJVMK, TJVMV>)

public KStream<K, V, TJVMK, TJVMV> Stream<K, V, TJVMK, TJVMV>(Pattern arg0, Consumed<K, V, TJVMK, TJVMV> arg1)

Parameters

arg0 Pattern

Pattern

arg1 Consumed<K, V, TJVMK, TJVMV>

Consumed<K, V, TJVMK, TJVMV>

Returns

KStream<K, V, TJVMK, TJVMV>

KStream<K, V, TJVMK, TJVMV>

Type Parameters

K

The key type

V

The value type

TJVMK

The JVM type of K

TJVMV

The JVM type of V

Stream<K, V, TJVMK, TJVMV>(IEnumerable<string>)

public KStream<K, V, TJVMK, TJVMV> Stream<K, V, TJVMK, TJVMV>(IEnumerable<string> arg0)

Parameters

arg0 IEnumerable<string>

Collection

Returns

KStream<K, V, TJVMK, TJVMV>

KStream<K, V, TJVMK, TJVMV>

Type Parameters

K

The key type

V

The value type

TJVMK

The JVM type of K

TJVMV

The JVM type of V

Stream<K, V, TJVMK, TJVMV>(IEnumerable<string>, Consumed<K, V, TJVMK, TJVMV>)

public KStream<K, V, TJVMK, TJVMV> Stream<K, V, TJVMK, TJVMV>(IEnumerable<string> arg0, Consumed<K, V, TJVMK, TJVMV> arg1)

Parameters

arg0 IEnumerable<string>

Collection

arg1 Consumed<K, V, TJVMK, TJVMV>

Consumed<K, V, TJVMK, TJVMV>

Returns

KStream<K, V, TJVMK, TJVMV>

KStream<K, V, TJVMK, TJVMV>

Type Parameters

K

The key type

V

The value type

TJVMK

The JVM type of K

TJVMV

The JVM type of V

Stream<K, V, TJVMK, TJVMV>(string)

public KStream<K, V, TJVMK, TJVMV> Stream<K, V, TJVMK, TJVMV>(string arg0)

Parameters

arg0 string

string

Returns

KStream<K, V, TJVMK, TJVMV>

KStream<K, V, TJVMK, TJVMV>

Type Parameters

K

The key type

V

The value type

TJVMK

The JVM type of K

TJVMV

The JVM type of V

Stream<K, V, TJVMK, TJVMV>(string, Consumed<K, V, TJVMK, TJVMV>)

public KStream<K, V, TJVMK, TJVMV> Stream<K, V, TJVMK, TJVMV>(string arg0, Consumed<K, V, TJVMK, TJVMV> arg1)

Parameters

arg0 string

string

arg1 Consumed<K, V, TJVMK, TJVMV>

Consumed<K, V, TJVMK, TJVMV>

Returns

KStream<K, V, TJVMK, TJVMV>

KStream<K, V, TJVMK, TJVMV>

Type Parameters

K

The key type

V

The value type

TJVMK

The JVM type of K

TJVMV

The JVM type of V

Table<K, V, TJVMK, TJVMV>(string)

public KTable<K, V, TJVMK, TJVMV> Table<K, V, TJVMK, TJVMV>(string arg0)

Parameters

arg0 string

string

Returns

KTable<K, V, TJVMK, TJVMV>

KTable<K, V, TJVMK, TJVMV>

Type Parameters

K

The key type

V

The value type

TJVMK

The JVM type of K

TJVMV

The JVM type of V

Table<K, V, TJVMK, TJVMV>(string, Consumed<K, V, TJVMK, TJVMV>)

public KTable<K, V, TJVMK, TJVMV> Table<K, V, TJVMK, TJVMV>(string arg0, Consumed<K, V, TJVMK, TJVMV> arg1)

Parameters

arg0 string

string

arg1 Consumed<K, V, TJVMK, TJVMV>

Consumed<K, V, TJVMK, TJVMV>

Returns

KTable<K, V, TJVMK, TJVMV>

KTable<K, V, TJVMK, TJVMV>

Type Parameters

K

The key type

V

The value type

TJVMK

The JVM type of K

TJVMV

The JVM type of V

Table<K, V, TJVMK, TJVMV>(string, Consumed<K, V, TJVMK, TJVMV>, Materialized<K, V, TJVMK, TJVMV>)

public KTable<K, V, TJVMK, TJVMV> Table<K, V, TJVMK, TJVMV>(string arg0, Consumed<K, V, TJVMK, TJVMV> arg1, Materialized<K, V, TJVMK, TJVMV> arg2)

Parameters

arg0 string

string

arg1 Consumed<K, V, TJVMK, TJVMV>

Consumed<K, V, TJVMK, TJVMV>

arg2 Materialized<K, V, TJVMK, TJVMV>

Materialized<K, V, TJVMK, TJVMV>

Returns

KTable<K, V, TJVMK, TJVMV>

KTable

Type Parameters

K

The key type

V

The value type

TJVMK

The JVM type of K

TJVMV

The JVM type of V

Table<K, V, TJVMK, TJVMV>(string, Materialized<K, V, TJVMK, TJVMV>)

public KTable<K, V, TJVMK, TJVMV> Table<K, V, TJVMK, TJVMV>(string arg0, Materialized<K, V, TJVMK, TJVMV> arg1)

Parameters

arg0 string

string

arg1 Materialized<K, V, TJVMK, TJVMV>

Materialized<K, V, TJVMK, TJVMV>

Returns

KTable<K, V, TJVMK, TJVMV>

KTable<K, V, TJVMK, TJVMV>

Type Parameters

K

The key type

V

The value type

TJVMK

The JVM type of K

TJVMV

The JVM type of V