diff --git a/docs/classes/CustomSpuSpec.html b/docs/classes/CustomSpuSpec.html index be89e9fb..dd645d40 100644 --- a/docs/classes/CustomSpuSpec.html +++ b/docs/classes/CustomSpuSpec.html @@ -1,6 +1,6 @@ -CustomSpuSpec | @fluvio/client

Class CustomSpuSpec

Constructors

constructor +CustomSpuSpec | @fluvio/client

Class CustomSpuSpec

Constructors

Properties

id: number
privateEndpoint: Endpoint
publicEndpoint: IngressPort
rack?: string
\ No newline at end of file +

Constructors

Properties

id: number
privateEndpoint: Endpoint
publicEndpoint: IngressPort
rack?: string
\ No newline at end of file diff --git a/docs/classes/FluvioAdmin.html b/docs/classes/FluvioAdmin.html index 894c7632..6885f3ba 100644 --- a/docs/classes/FluvioAdmin.html +++ b/docs/classes/FluvioAdmin.html @@ -10,7 +10,7 @@

Creating an admin client will fail if you do not have admin authorization in the connected custer.

-

Constructors

Constructors

Properties

Methods

createCustomSpu createManagedSpu @@ -28,29 +28,29 @@ along with top-level Fluvio client options, if any.

Parameters

  • inner: FluvioAdmin

    The native FluvioAdmin module, must be the value returned from await new Fluvio().admin();

  • Optionaloptions: Partial<Options>

    Optional values inherited from top-level options;

    -

Returns FluvioAdmin

Properties

options?: Partial<Options>

Methods

  • Parameters

    Returns Promise<void>

  • Create a new custom Streaming Processing Unit (SPU)

    +

Returns FluvioAdmin

Properties

options?: Partial<Options>

Methods

  • Parameters

    Returns Promise<void>

  • Create a new custom Streaming Processing Unit (SPU)

    Parameters

    • name: string

      Name of the custom spu;

    • Optionalspec: CustomSpuSpec

      Pass in a custom spec or use a default based on top-level options;

      -

    Returns Promise<void>

  • Parameters

    Returns Promise<void>

  • Create a new managed Streaming Processing Unit (SPU)

    +

Returns Promise<void>

  • Parameters

    Returns Promise<void>

  • Create a new managed Streaming Processing Unit (SPU)

    Parameters

    • name: string

      name of the managed spu group

    • Optionalspec: SpuGroupSpec

      Optional specification for the SpuGroup. If no spec is provided, default settings will be used.

      -

    Returns Promise<void>

  • Parameters

    Returns Promise<string>

  • Create a new topic with an optional topic specification;

    +

Returns Promise<void>

  • Parameters

    • key: string | number

    Returns Promise<void>

  • Delete a custom SPU using either a string or number;

    +

Returns Promise<string>

  • Parameters

    • key: string | number

    Returns Promise<void>

  • Delete a custom SPU using either a string or number;

    Parameters

    • key: string | number

      SPU key to target for deletion;

      -

    Returns Promise<void>

  • Parameters

    • name: string

    Returns Promise<void>

  • Delete a managed SPU by name

    +

Returns Promise<void>

  • Parameters

    • name: string

    Returns Promise<void>

  • Delete a managed SPU by name

    Parameters

    • name: string

      Name of the managed SPU to delete;

      -

    Returns Promise<void>

  • Parameters

    • topic: string

    Returns Promise<string>

  • Delete a topic by name

    +

Returns Promise<void>

  • Parameters

    • topic: string

    Returns Promise<string>

  • Delete a topic by name

    Parameters

    • topic: string

      Name of the topic to delete

      -

    Returns Promise<string>

Returns Promise<string>

  • Parameters

    • topic: string

    Returns Promise<Topic>

  • Find a topic by name

    +

Returns Promise<PartitionSpecMetadata>

  • Parameters

    • topic: string

    Returns Promise<Topic>

  • Find a topic by name

    Parameters

    • topic: string

      Name of the topic to find;

      -

    Returns Promise<Topic>

  • Returns Promise<string>

  • List partitions

    -

    Returns Promise<string>

  • Returns Promise<string>

  • List SPUs +

Returns Promise<Topic>

  • Returns Promise<string>

  • List partitions

    +

    Returns Promise<string>

  • Returns Promise<string>

  • List SPUs TODO: convert stringified json to structured types;

    -

    Returns Promise<string>

  • Returns Promise<string>

  • List topics

    -

    Returns Promise<string>

\ No newline at end of file +

Returns Promise<string>

\ No newline at end of file diff --git a/docs/classes/Offset.html b/docs/classes/Offset.html index 013f45df..c8331f18 100644 --- a/docs/classes/Offset.html +++ b/docs/classes/Offset.html @@ -1,6 +1,6 @@ -Offset | @fluvio/client

Constructors

constructor +Offset | @fluvio/client

Constructors

Properties

Methods

Constructors

Properties

from?: string
index: number

Methods

\ No newline at end of file +

Constructors

Properties

from?: string
index: number

Methods

\ No newline at end of file diff --git a/docs/classes/PartitionConsumer.html b/docs/classes/PartitionConsumer.html index d6803c11..35043002 100644 --- a/docs/classes/PartitionConsumer.html +++ b/docs/classes/PartitionConsumer.html @@ -13,21 +13,21 @@

The inner object is a private object that is the native module created by the top-level Fluvio client.

This class is not intended to be constructed manually.

-

Methods

Methods

Methods

  • Parameters

    Returns Promise<AsyncIterable<Record>>

  • This returns an AsyncIterable. Usage:

    const stream = await consumer.getIterator(Offset.FromBeginning())
    for await (const next of stream) {
    console.log(next)
    }
    -

    Parameters

    Returns Promise<AsyncIterable<Record>>

  • Returns Promise<void>

  • Returns Promise<void>

  • Parameters

    • offset: Offset
    • cb: ((record: Record) => void)
        • (record): void
        • Parameters

          Returns void

    Returns Promise<void>

  • Parameters

    • offset: Offset
    • cb: ((record: Record) => void)
        • (record): void
        • Parameters

          Returns void

    Returns Promise<void>

\ No newline at end of file +

Returns Promise<FetchablePartitionResponse>

\ No newline at end of file diff --git a/docs/classes/SpuConfig.html b/docs/classes/SpuConfig.html index 01e999c3..b0d449b5 100644 --- a/docs/classes/SpuConfig.html +++ b/docs/classes/SpuConfig.html @@ -1,6 +1,6 @@ -SpuConfig | @fluvio/client

Constructors

constructor +SpuConfig | @fluvio/client

Constructors

Properties

Constructors

Properties

env: EnvVar[]
rack?: string
replication?: ReplicationConfig
storage?: StorageConfig
\ No newline at end of file +

Constructors

Properties

env: EnvVar[]
rack?: string
replication?: ReplicationConfig
storage?: StorageConfig
\ No newline at end of file diff --git a/docs/classes/SpuGroupSpec.html b/docs/classes/SpuGroupSpec.html index ed9fa269..4fb80baf 100644 --- a/docs/classes/SpuGroupSpec.html +++ b/docs/classes/SpuGroupSpec.html @@ -1,5 +1,5 @@ -SpuGroupSpec | @fluvio/client

Class SpuGroupSpec

Constructors

constructor +SpuGroupSpec | @fluvio/client

Class SpuGroupSpec

Constructors

Properties

Constructors

Properties

minId: number
replicas: number
spuConfig: SpuConfig
\ No newline at end of file +

Constructors

Properties

minId: number
replicas: number
spuConfig: SpuConfig
\ No newline at end of file diff --git a/docs/classes/TopicProducer.html b/docs/classes/TopicProducer.html index 71880381..5de9f5c7 100644 --- a/docs/classes/TopicProducer.html +++ b/docs/classes/TopicProducer.html @@ -11,19 +11,19 @@

The inner object is a private object that is the native module created by the top-level Fluvio client.

This class is not intended to be constructed manually.

-

Methods

Methods

  • Returns Promise<void>

  • Returns Promise<void>

  • Parameters

    • key: ProducerItem
    • value: ProducerItem

    Returns Promise<void>

  • Sends a key-value event to this producer's topic

    +

Methods

  • Returns Promise<void>

  • Returns Promise<void>

  • Parameters

    • key: ProducerItem
    • value: ProducerItem

    Returns Promise<void>

  • Sends a key-value event to this producer's topic

    Parameters

    • key: string | ArrayBuffer

      The Key data of the record to send

    • value: string | ArrayBuffer

      The Value data of the record to send

      -

    Returns Promise<void>

  • Parameters

    Returns Promise<void>

  • Sends a list of key-value elements to this producer's topic

    -

    Parameters

    Returns Promise<void>

  • Parameters

    • data: string
    • partition: number

    Returns Promise<void>

  • Sends an event to a specific partition within this producer's topic

    +

Returns Promise<void>

  • Parameters

    Returns Promise<void>

  • Sends a list of key-value elements to this producer's topic

    +

    Parameters

    Returns Promise<void>

  • Parameters

    • data: string
    • partition: number

    Returns Promise<void>

  • Sends an event to a specific partition within this producer's topic

    Parameters

    • value: string

      Buffered data to send to the Fluvio partition

    • partition: number

      The partition that this record will be sent to

      -

    Returns Promise<void>

  • Factory method for creating a new topic Producer; This method is used by the +

Returns Promise<void>

  • Factory method for creating a new topic Producer; This method is used by the Fluvio class. It is not meant to be called directly;

    Parameters

    • inner: TopicProducer

      The native node module created by await (new Fluvio().connect()).topicProducer()

      -

    Returns TopicProducer

\ No newline at end of file +

Returns TopicProducer

\ No newline at end of file diff --git a/docs/classes/TopicSpec.html b/docs/classes/TopicSpec.html index 34536a1d..2313197d 100644 --- a/docs/classes/TopicSpec.html +++ b/docs/classes/TopicSpec.html @@ -1,3 +1,3 @@ -TopicSpec | @fluvio/client

Constructors

constructor +TopicSpec | @fluvio/client

Constructors

Properties

Constructors

Properties

\ No newline at end of file +

Constructors

Properties

\ No newline at end of file diff --git a/docs/classes/default.html b/docs/classes/default.html index 697988d7..5b2afe65 100644 --- a/docs/classes/default.html +++ b/docs/classes/default.html @@ -6,7 +6,7 @@

Core module is generated from node-bindgen. This TypeScript wrapper provides type definitions and generates the JavaScript client.

-

Implements

Constructors

Implements

Constructors

Methods

admin connect partitionConsumer @@ -14,22 +14,22 @@ connect

Constructors

  • Parameters

    • Optionaloptions: Options

      Options provides top-level access to common configurable values used by the Fluvio client.

      -

    Returns default

Methods

Methods

  • Parameters

    • Optionaloptions: Partial<Options>

      Optionally pass in connection host options (e.g. { host: '' }) uses the partial Options type; This does not override the default options, only replaces default options in this case;

      -

    Returns Promise<FluvioClient>

  • Creates a new PartitionConsumer for the given topic and partition

    +

Returns Promise<FluvioClient>

Returns Promise<PartitionConsumer>

Returns Promise<TopicProducer>

\ No newline at end of file +

Returns Promise<default>

\ No newline at end of file diff --git a/docs/enums/Encryption.html b/docs/enums/Encryption.html index 0c0cd841..02ac9151 100644 --- a/docs/enums/Encryption.html +++ b/docs/enums/Encryption.html @@ -1,3 +1,3 @@ -Encryption | @fluvio/client

Enumeration Encryption

Enumeration Members

Plaintext +Encryption | @fluvio/client

Enumeration Encryption

Enumeration Members

Enumeration Members

Plaintext: "Plaintext"
Ssl: "Ssl"
\ No newline at end of file +

Enumeration Members

Plaintext: "Plaintext"
Ssl: "Ssl"
\ No newline at end of file diff --git a/docs/enums/ErrorCode.html b/docs/enums/ErrorCode.html index 09f016c7..176682ab 100644 --- a/docs/enums/ErrorCode.html +++ b/docs/enums/ErrorCode.html @@ -1,4 +1,4 @@ -ErrorCode | @fluvio/client

Enumeration ErrorCode

Enumeration Members

None +ErrorCode | @fluvio/client

Enumeration ErrorCode

Enumeration Members

None: 1
NotLeaderForPartition: 3
OffsetOutOfRange: 2
PartitionNotLeader: 16
PartitionPendingInitialization: 15
SpuAlreadyExists: 9
SpuError: 5
SpuNotFound: 8
SpuOffline: 7
SpuRegisterationFailed: 6
StorageError: 4
TopicAlreadyExists: 12
TopicError: 10
TopicInvalidConfiguration: 14
TopicNotFound: 11
TopicPendingInitialization: 13
UnknownServerError: 0
\ No newline at end of file +

Enumeration Members

None: 1
NotLeaderForPartition: 3
OffsetOutOfRange: 2
PartitionNotLeader: 16
PartitionPendingInitialization: 15
SpuAlreadyExists: 9
SpuError: 5
SpuNotFound: 8
SpuOffline: 7
SpuRegisterationFailed: 6
StorageError: 4
TopicAlreadyExists: 12
TopicError: 10
TopicInvalidConfiguration: 14
TopicNotFound: 11
TopicPendingInitialization: 13
UnknownServerError: 0
\ No newline at end of file diff --git a/docs/enums/OffsetFrom.html b/docs/enums/OffsetFrom.html index 74c15901..860f4a03 100644 --- a/docs/enums/OffsetFrom.html +++ b/docs/enums/OffsetFrom.html @@ -1,3 +1,3 @@ -OffsetFrom | @fluvio/client

Enumeration OffsetFrom

Enumeration Members

Beginning +OffsetFrom | @fluvio/client

Enumeration OffsetFrom

Enumeration Members

Enumeration Members

Beginning: "beginning"
End: "end"
\ No newline at end of file +

Enumeration Members

Beginning: "beginning"
End: "end"
\ No newline at end of file diff --git a/docs/enums/SmartModuleType.html b/docs/enums/SmartModuleType.html index abe44d64..0e0c4ade 100644 --- a/docs/enums/SmartModuleType.html +++ b/docs/enums/SmartModuleType.html @@ -1,5 +1,5 @@ -SmartModuleType | @fluvio/client

Enumeration SmartModuleType

Enumeration Members

ArrayMap +SmartModuleType | @fluvio/client

Enumeration SmartModuleType

Enumeration Members

Enumeration Members

ArrayMap: "array_map"
Filter: "filter"
FilterMap: "filter_map"
Map: "map"
\ No newline at end of file +

Enumeration Members

ArrayMap: "array_map"
Filter: "filter"
FilterMap: "filter_map"
Map: "map"
\ No newline at end of file diff --git a/docs/functions/arrayBufferToString.html b/docs/functions/arrayBufferToString.html index ab9f2b4d..cd7fcf4f 100644 --- a/docs/functions/arrayBufferToString.html +++ b/docs/functions/arrayBufferToString.html @@ -1 +1 @@ -arrayBufferToString | @fluvio/client

Function arrayBufferToString

  • Parameters

    • data: ArrayBuffer

    Returns string

\ No newline at end of file +arrayBufferToString | @fluvio/client

Function arrayBufferToString

  • Parameters

    • data: ArrayBuffer

    Returns string

\ No newline at end of file diff --git a/docs/functions/stringToArrayBuffer.html b/docs/functions/stringToArrayBuffer.html index 395c4444..4530ff39 100644 --- a/docs/functions/stringToArrayBuffer.html +++ b/docs/functions/stringToArrayBuffer.html @@ -1 +1 @@ -stringToArrayBuffer | @fluvio/client

Function stringToArrayBuffer

  • Parameters

    • data: string

    Returns ArrayBuffer

\ No newline at end of file +stringToArrayBuffer | @fluvio/client

Function stringToArrayBuffer

  • Parameters

    • data: string

    Returns ArrayBuffer

\ No newline at end of file diff --git a/docs/interfaces/Batch.html b/docs/interfaces/Batch.html index 847fe215..52203b7c 100644 --- a/docs/interfaces/Batch.html +++ b/docs/interfaces/Batch.html @@ -1,5 +1,5 @@ -Batch | @fluvio/client

Interface Batch

interface Batch {
    baseOffset: number;
    batchLength: number;
    header: BatchHeader;
    records: DefaultRecord[];
}

Properties

baseOffset +Batch | @fluvio/client

Interface Batch

interface Batch {
    baseOffset: number;
    batchLength: number;
    header: BatchHeader;
    records: DefaultRecord[];
}

Properties

baseOffset: number
batchLength: number
header: BatchHeader
records: DefaultRecord[]
\ No newline at end of file +

Properties

baseOffset: number
batchLength: number
header: BatchHeader
records: DefaultRecord[]
\ No newline at end of file diff --git a/docs/interfaces/BatchHeader.html b/docs/interfaces/BatchHeader.html index fbf559ea..cfeaa8e4 100644 --- a/docs/interfaces/BatchHeader.html +++ b/docs/interfaces/BatchHeader.html @@ -1,4 +1,4 @@ -BatchHeader | @fluvio/client

Interface BatchHeader

interface BatchHeader {
    attributes: number;
    crc: number;
    firstSequence: number;
    firstTimestamp: number;
    lastOffsetDelta: number;
    magic: number;
    maxTimeStamp: number;
    partitionLeaderEpoch: number;
    producerEpoch: number;
    producerId: number;
}

Properties

attributes +BatchHeader | @fluvio/client

Interface BatchHeader

interface BatchHeader {
    attributes: number;
    crc: number;
    firstSequence: number;
    firstTimestamp: number;
    lastOffsetDelta: number;
    magic: number;
    maxTimeStamp: number;
    partitionLeaderEpoch: number;
    producerEpoch: number;
    producerId: number;
}

Properties

attributes: number
crc: number
firstSequence: number
firstTimestamp: number
lastOffsetDelta: number
magic: number
maxTimeStamp: number
partitionLeaderEpoch: number
producerEpoch: number
producerId: number
\ No newline at end of file +

Properties

attributes: number
crc: number
firstSequence: number
firstTimestamp: number
lastOffsetDelta: number
magic: number
maxTimeStamp: number
partitionLeaderEpoch: number
producerEpoch: number
producerId: number
\ No newline at end of file diff --git a/docs/interfaces/ConsumerConfig.html b/docs/interfaces/ConsumerConfig.html index 0f732611..8e5752d5 100644 --- a/docs/interfaces/ConsumerConfig.html +++ b/docs/interfaces/ConsumerConfig.html @@ -1,10 +1,10 @@ -ConsumerConfig | @fluvio/client

Interface ConsumerConfig

interface ConsumerConfig {
    maxBytes?: number;
    smartmoduleData?: string;
    smartmoduleFile?: string;
    smartmoduleName?: string;
    smartmoduleType: SmartModuleType;
}

Properties

maxBytes? +ConsumerConfig | @fluvio/client

Interface ConsumerConfig

interface ConsumerConfig {
    maxBytes?: number;
    smartmoduleData?: string;
    smartmoduleFile?: string;
    smartmoduleName?: string;
    smartmoduleType: SmartModuleType;
}

Properties

maxBytes?: number
smartmoduleData?: string

Gzipped and Base64 encoded SmartModule WASM file.

-
smartmoduleFile?: string

Path to a SmartModule WASM file.

+

Properties

maxBytes?: number
smartmoduleData?: string

Gzipped and Base64 encoded SmartModule WASM file.

+
smartmoduleFile?: string

Path to a SmartModule WASM file.

Internally replaces the value provided to smartmoduleData, you must provide one, either smartmoduleFile or smartmoduleData.

-
smartmoduleName?: string
smartmoduleType: SmartModuleType
\ No newline at end of file +
smartmoduleName?: string
smartmoduleType: SmartModuleType
\ No newline at end of file diff --git a/docs/interfaces/DefaultRecord.html b/docs/interfaces/DefaultRecord.html index bc370cae..a994facd 100644 --- a/docs/interfaces/DefaultRecord.html +++ b/docs/interfaces/DefaultRecord.html @@ -1,4 +1,4 @@ -DefaultRecord | @fluvio/client

Interface DefaultRecord

interface DefaultRecord {
    headers: number;
    key: string;
    value: string;
}

Properties

headers +DefaultRecord | @fluvio/client

Interface DefaultRecord

interface DefaultRecord {
    headers: number;
    key: string;
    value: string;
}

Properties

Properties

headers: number
key: string
value: string
\ No newline at end of file +

Properties

headers: number
key: string
value: string
\ No newline at end of file diff --git a/docs/interfaces/Endpoint.html b/docs/interfaces/Endpoint.html index a89cb8f6..691720bb 100644 --- a/docs/interfaces/Endpoint.html +++ b/docs/interfaces/Endpoint.html @@ -1,4 +1,4 @@ -Endpoint | @fluvio/client

Interface Endpoint

interface Endpoint {
    encryption: string;
    host: string;
    port: number;
}

Properties

encryption +Endpoint | @fluvio/client

Interface Endpoint

interface Endpoint {
    encryption: string;
    host: string;
    port: number;
}

Properties

Properties

encryption: string
host: string
port: number
\ No newline at end of file +

Properties

encryption: string
host: string
port: number
\ No newline at end of file diff --git a/docs/interfaces/EnvVar.html b/docs/interfaces/EnvVar.html index 454b632a..a3ab432e 100644 --- a/docs/interfaces/EnvVar.html +++ b/docs/interfaces/EnvVar.html @@ -1,3 +1,3 @@ -EnvVar | @fluvio/client

Interface EnvVar

interface EnvVar {
    name: string;
    value: string;
}

Properties

name +EnvVar | @fluvio/client

Interface EnvVar

interface EnvVar {
    name: string;
    value: string;
}

Properties

Properties

name: string
value: string
\ No newline at end of file +

Properties

name: string
value: string
\ No newline at end of file diff --git a/docs/interfaces/FetchablePartitionResponse.html b/docs/interfaces/FetchablePartitionResponse.html index 4d075c0b..82df8c9c 100644 --- a/docs/interfaces/FetchablePartitionResponse.html +++ b/docs/interfaces/FetchablePartitionResponse.html @@ -1,4 +1,4 @@ -FetchablePartitionResponse | @fluvio/client

Interface FetchablePartitionResponse

interface FetchablePartitionResponse {
    aborted?: ArrayBuffer;
    errorCode: ErrorCode;
    highWatermark: number;
    lastStableOffset: number;
    logStartOffset: number;
    partitionIndex: number;
    records: RecordSet;
    toRecords(): string[];
}

Properties

aborted? +FetchablePartitionResponse | @fluvio/client

Interface FetchablePartitionResponse

interface FetchablePartitionResponse {
    aborted?: ArrayBuffer;
    errorCode: ErrorCode;
    highWatermark: number;
    lastStableOffset: number;
    logStartOffset: number;
    partitionIndex: number;
    records: RecordSet;
    toRecords(): string[];
}

Properties

aborted?: ArrayBuffer
errorCode: ErrorCode
highWatermark: number
lastStableOffset: number
logStartOffset: number
partitionIndex: number
records: RecordSet

Methods

  • let response = await this.fluvioConsumer.fetch(Offset.FromStart())
    response.toRecords().forEach(msg => {
    console.log(msg)
    }) +

Properties

aborted?: ArrayBuffer
errorCode: ErrorCode
highWatermark: number
lastStableOffset: number
logStartOffset: number
partitionIndex: number
records: RecordSet

Methods

  • let response = await this.fluvioConsumer.fetch(Offset.FromStart())
    response.toRecords().forEach(msg => {
    console.log(msg)
    })
    -

    Returns string[]

\ No newline at end of file +

Returns string[]

\ No newline at end of file diff --git a/docs/interfaces/FluvioClient.html b/docs/interfaces/FluvioClient.html index 71f06ffd..17912a68 100644 --- a/docs/interfaces/FluvioClient.html +++ b/docs/interfaces/FluvioClient.html @@ -1,5 +1,5 @@ -FluvioClient | @fluvio/client

Interface FluvioClient

interface FluvioClient {
    admin(): Promise<FluvioAdmin>;
    connect(options?: Partial<Options>): Promise<FluvioClient>;
    partitionConsumer(topic: string, partition: number): Promise<PartitionConsumer>;
    topicProducer(topic: string): Promise<TopicProducer>;
}

Implemented by

Methods

admin +FluvioClient | @fluvio/client

Interface FluvioClient

interface FluvioClient {
    admin(): Promise<FluvioAdmin>;
    connect(options?: Partial<Options>): Promise<FluvioClient>;
    partitionConsumer(topic: string, partition: number): Promise<PartitionConsumer>;
    topicProducer(topic: string): Promise<TopicProducer>;
}

Implemented by

Methods

\ No newline at end of file +

Methods

\ No newline at end of file diff --git a/docs/interfaces/IngressAddr.html b/docs/interfaces/IngressAddr.html index 1a12205f..3f919a01 100644 --- a/docs/interfaces/IngressAddr.html +++ b/docs/interfaces/IngressAddr.html @@ -1,3 +1,3 @@ -IngressAddr | @fluvio/client

Interface IngressAddr

interface IngressAddr {
    hostname?: string;
    ip?: string;
}

Properties

hostname? +IngressAddr | @fluvio/client

Interface IngressAddr

interface IngressAddr {
    hostname?: string;
    ip?: string;
}

Properties

Properties

hostname?: string
ip?: string
\ No newline at end of file +

Properties

hostname?: string
ip?: string
\ No newline at end of file diff --git a/docs/interfaces/IngressPort.html b/docs/interfaces/IngressPort.html index b691b6a3..11b1f363 100644 --- a/docs/interfaces/IngressPort.html +++ b/docs/interfaces/IngressPort.html @@ -1,4 +1,4 @@ -IngressPort | @fluvio/client

Interface IngressPort

interface IngressPort {
    encryption: string;
    ingress: IngressAddr[];
    port: number;
}

Properties

encryption +IngressPort | @fluvio/client

Interface IngressPort

interface IngressPort {
    encryption: string;
    ingress: IngressAddr[];
    port: number;
}

Properties

Properties

encryption: string
ingress: IngressAddr[]
port: number
\ No newline at end of file +

Properties

encryption: string
ingress: IngressAddr[]
port: number
\ No newline at end of file diff --git a/docs/interfaces/Options.html b/docs/interfaces/Options.html index c7ada7d0..16b2c981 100644 --- a/docs/interfaces/Options.html +++ b/docs/interfaces/Options.html @@ -5,7 +5,7 @@

It is best practice to use explicit arguments directly with the class methods If an option or argument does not exist that is optional, a default value will be used.

-
interface Options {
    encryption?: Encryption;
    env?: EnvVar[];
    host?: string;
    id?: number;
    ignoreRackAssignment?: boolean;
    ingress?: IngressAddr[];
    maps?: PartitionMap[];
    minId?: number;
    offsetFrom?: string;
    offsetIndex?: number;
    partition?: number;
    partitions?: number;
    port?: number;
    rack?: string;
    replicas?: number;
    replication?: ReplicationConfig;
    replicationFactor?: number;
    storage?: StorageConfig;
    topic?: string;
}

Properties

interface Options {
    encryption?: Encryption;
    env?: EnvVar[];
    host?: string;
    id?: number;
    ignoreRackAssignment?: boolean;
    ingress?: IngressAddr[];
    maps?: PartitionMap[];
    minId?: number;
    offsetFrom?: string;
    offsetIndex?: number;
    partition?: number;
    partitions?: number;
    port?: number;
    rack?: string;
    replicas?: number;
    replication?: ReplicationConfig;
    replicationFactor?: number;
    storage?: StorageConfig;
    topic?: string;
}

Properties

encryption?: Encryption
env?: EnvVar[]
host?: string
id?: number
ignoreRackAssignment?: boolean
ingress?: IngressAddr[]
maps?: PartitionMap[]
minId?: number
offsetFrom?: string
offsetIndex?: number
partition?: number
partitions?: number
port?: number
rack?: string
replicas?: number
replication?: ReplicationConfig
replicationFactor?: number
storage?: StorageConfig
topic?: string
\ No newline at end of file +

Properties

encryption?: Encryption
env?: EnvVar[]
host?: string
id?: number
ignoreRackAssignment?: boolean
ingress?: IngressAddr[]
maps?: PartitionMap[]
minId?: number
offsetFrom?: string
offsetIndex?: number
partition?: number
partitions?: number
port?: number
rack?: string
replicas?: number
replication?: ReplicationConfig
replicationFactor?: number
storage?: StorageConfig
topic?: string
\ No newline at end of file diff --git a/docs/interfaces/PartitionMap.html b/docs/interfaces/PartitionMap.html index bdbc2563..9f96f904 100644 --- a/docs/interfaces/PartitionMap.html +++ b/docs/interfaces/PartitionMap.html @@ -1,3 +1,3 @@ -PartitionMap | @fluvio/client

Interface PartitionMap

interface PartitionMap {
    id: number;
    replicas: number[];
}

Properties

id +PartitionMap | @fluvio/client

Interface PartitionMap

interface PartitionMap {
    id: number;
    replicas: number[];
}

Properties

Properties

id: number
replicas: number[]
\ No newline at end of file +

Properties

id: number
replicas: number[]
\ No newline at end of file diff --git a/docs/interfaces/PartitionMaps.html b/docs/interfaces/PartitionMaps.html index f917bce8..1e3a6955 100644 --- a/docs/interfaces/PartitionMaps.html +++ b/docs/interfaces/PartitionMaps.html @@ -1,2 +1,2 @@ -PartitionMaps | @fluvio/client

Interface PartitionMaps

interface PartitionMaps {
    maps: PartitionMap[];
}

Properties

Properties

maps: PartitionMap[]
\ No newline at end of file +PartitionMaps | @fluvio/client

Interface PartitionMaps

interface PartitionMaps {
    maps: PartitionMap[];
}

Properties

Properties

maps: PartitionMap[]
\ No newline at end of file diff --git a/docs/interfaces/PartitionSpec.html b/docs/interfaces/PartitionSpec.html index df339958..f5e8ad87 100644 --- a/docs/interfaces/PartitionSpec.html +++ b/docs/interfaces/PartitionSpec.html @@ -1,3 +1,3 @@ -PartitionSpec | @fluvio/client

Interface PartitionSpec

interface PartitionSpec {
    leader: number;
    replicas: number[];
}

Properties

leader +PartitionSpec | @fluvio/client

Interface PartitionSpec

interface PartitionSpec {
    leader: number;
    replicas: number[];
}

Properties

Properties

leader: number
replicas: number[]
\ No newline at end of file +

Properties

leader: number
replicas: number[]
\ No newline at end of file diff --git a/docs/interfaces/PartitionSpecMetadata.html b/docs/interfaces/PartitionSpecMetadata.html index e716acdf..dff26d52 100644 --- a/docs/interfaces/PartitionSpecMetadata.html +++ b/docs/interfaces/PartitionSpecMetadata.html @@ -1,4 +1,4 @@ -PartitionSpecMetadata | @fluvio/client

Interface PartitionSpecMetadata

interface PartitionSpecMetadata {
    name: string;
    spec: PartitionSpec;
    status: PartitionSpecStatus;
}

Properties

name +PartitionSpecMetadata | @fluvio/client

Interface PartitionSpecMetadata

interface PartitionSpecMetadata {
    name: string;
    spec: PartitionSpec;
    status: PartitionSpecStatus;
}

Properties

Properties

name: string
\ No newline at end of file +

Properties

name: string
\ No newline at end of file diff --git a/docs/interfaces/PartitionSpecStatus.html b/docs/interfaces/PartitionSpecStatus.html index 8567ad49..b2aad9bd 100644 --- a/docs/interfaces/PartitionSpecStatus.html +++ b/docs/interfaces/PartitionSpecStatus.html @@ -1,5 +1,5 @@ -PartitionSpecStatus | @fluvio/client

Interface PartitionSpecStatus

interface PartitionSpecStatus {
    leader: ReplicaStatus;
    lsr: string;
    replicas: ReplicaStatus[];
    resolution: string;
}

Properties

leader +PartitionSpecStatus | @fluvio/client

Interface PartitionSpecStatus

interface PartitionSpecStatus {
    leader: ReplicaStatus;
    lsr: string;
    replicas: ReplicaStatus[];
    resolution: string;
}

Properties

lsr: string
replicas: ReplicaStatus[]
resolution: string
\ No newline at end of file +

Properties

lsr: string
replicas: ReplicaStatus[]
resolution: string
\ No newline at end of file diff --git a/docs/interfaces/Record.html b/docs/interfaces/Record.html index 86ac9dba..0cda62d2 100644 --- a/docs/interfaces/Record.html +++ b/docs/interfaces/Record.html @@ -1,12 +1,12 @@ Record | @fluvio/client

Interface Record

Provides access to the data within a Record that was consumed

-
interface Record {
    hasKey(): boolean;
    key(): null | ArrayBuffer;
    keyString(): null | string;
    value(): ArrayBuffer;
    valueString(): string;
}

Methods

interface Record {
    hasKey(): boolean;
    key(): null | ArrayBuffer;
    keyString(): null | string;
    value(): ArrayBuffer;
    valueString(): string;
}

Methods

  • Returns true if this Record has a key, or false otherwise

    -

    Returns boolean

  • Returns the Key of this Record as a byte buffer, or null if there is no key

    -

    Returns null | ArrayBuffer

  • Returns the Key of this Record as a string, or null if there is no key

    -

    Returns null | string

  • Returns the Value of this Record as a byte buffer

    -

    Returns ArrayBuffer

  • Returns the Value of this Record as a string

    -

    Returns string

\ No newline at end of file +

Returns boolean

\ No newline at end of file diff --git a/docs/interfaces/RecordSet.html b/docs/interfaces/RecordSet.html index af1e2f34..566a8f9d 100644 --- a/docs/interfaces/RecordSet.html +++ b/docs/interfaces/RecordSet.html @@ -1,2 +1,2 @@ -RecordSet | @fluvio/client

Interface RecordSet

interface RecordSet {
    batches: Batch[];
}

Properties

Properties

batches: Batch[]
\ No newline at end of file +RecordSet | @fluvio/client

Interface RecordSet

interface RecordSet {
    batches: Batch[];
}

Properties

Properties

batches: Batch[]
\ No newline at end of file diff --git a/docs/interfaces/ReplicaStatus.html b/docs/interfaces/ReplicaStatus.html index 707626e2..0ef7273c 100644 --- a/docs/interfaces/ReplicaStatus.html +++ b/docs/interfaces/ReplicaStatus.html @@ -1,4 +1,4 @@ -ReplicaStatus | @fluvio/client

Interface ReplicaStatus

interface ReplicaStatus {
    hw: number;
    leo: number;
    spu: number;
}

Properties

hw +ReplicaStatus | @fluvio/client

Interface ReplicaStatus

interface ReplicaStatus {
    hw: number;
    leo: number;
    spu: number;
}

Properties

Properties

hw: number
leo: number
spu: number
\ No newline at end of file +

Properties

hw: number
leo: number
spu: number
\ No newline at end of file diff --git a/docs/interfaces/ReplicationConfig.html b/docs/interfaces/ReplicationConfig.html index 8a05b706..459c999c 100644 --- a/docs/interfaces/ReplicationConfig.html +++ b/docs/interfaces/ReplicationConfig.html @@ -1,2 +1,2 @@ -ReplicationConfig | @fluvio/client

Interface ReplicationConfig

interface ReplicationConfig {
    inSyncReplicaMin?: number;
}

Properties

Properties

inSyncReplicaMin?: number
\ No newline at end of file +ReplicationConfig | @fluvio/client

Interface ReplicationConfig

interface ReplicationConfig {
    inSyncReplicaMin?: number;
}

Properties

Properties

inSyncReplicaMin?: number
\ No newline at end of file diff --git a/docs/interfaces/StorageConfig.html b/docs/interfaces/StorageConfig.html index c52676fc..73121622 100644 --- a/docs/interfaces/StorageConfig.html +++ b/docs/interfaces/StorageConfig.html @@ -1,3 +1,3 @@ -StorageConfig | @fluvio/client

Interface StorageConfig

interface StorageConfig {
    logDir?: string;
    size?: string;
}

Properties

logDir? +StorageConfig | @fluvio/client

Interface StorageConfig

interface StorageConfig {
    logDir?: string;
    size?: string;
}

Properties

Properties

logDir?: string
size?: string
\ No newline at end of file +

Properties

logDir?: string
size?: string
\ No newline at end of file diff --git a/docs/interfaces/Topic.html b/docs/interfaces/Topic.html index 977dc79d..652e0a0c 100644 --- a/docs/interfaces/Topic.html +++ b/docs/interfaces/Topic.html @@ -1,4 +1,4 @@ -Topic | @fluvio/client

Interface Topic

interface Topic {
    name: string;
    spec: {
        ignoreRackAssignment: boolean;
        partitions: number;
        replicationFactor: number;
        type: string;
    };
    status: {
        reason: string;
        replicaMap: {
            [key: string]: string;
        };
        resolution: string;
    };
}

Properties

name +Topic | @fluvio/client

Interface Topic

interface Topic {
    name: string;
    spec: {
        ignoreRackAssignment: boolean;
        partitions: number;
        replicationFactor: number;
        type: string;
    };
    status: {
        reason: string;
        replicaMap: {
            [key: string]: string;
        };
        resolution: string;
    };
}

Properties

Properties

name: string
spec: {
    ignoreRackAssignment: boolean;
    partitions: number;
    replicationFactor: number;
    type: string;
}
status: {
    reason: string;
    replicaMap: {
        [key: string]: string;
    };
    resolution: string;
}
\ No newline at end of file +

Properties

name: string
spec: {
    ignoreRackAssignment: boolean;
    partitions: number;
    replicationFactor: number;
    type: string;
}
status: {
    reason: string;
    replicaMap: {
        [key: string]: string;
    };
    resolution: string;
}
\ No newline at end of file diff --git a/docs/interfaces/TopicReplicaParam.html b/docs/interfaces/TopicReplicaParam.html index a1410a1c..a6b31ff7 100644 --- a/docs/interfaces/TopicReplicaParam.html +++ b/docs/interfaces/TopicReplicaParam.html @@ -1,4 +1,4 @@ -TopicReplicaParam | @fluvio/client

Interface TopicReplicaParam

interface TopicReplicaParam {
    ignoreRackAssignment: boolean;
    partitions: number;
    replicationFactor: number;
}

Properties

ignoreRackAssignment +TopicReplicaParam | @fluvio/client

Interface TopicReplicaParam

interface TopicReplicaParam {
    ignoreRackAssignment: boolean;
    partitions: number;
    replicationFactor: number;
}

Properties

ignoreRackAssignment: boolean
partitions: number
replicationFactor: number
\ No newline at end of file +

Properties

ignoreRackAssignment: boolean
partitions: number
replicationFactor: number
\ No newline at end of file diff --git a/docs/types/KeyValue.html b/docs/types/KeyValue.html index 69cff201..39b25021 100644 --- a/docs/types/KeyValue.html +++ b/docs/types/KeyValue.html @@ -1,2 +1,2 @@ KeyValue | @fluvio/client

Type Alias KeyValue

KeyValue: [ProducerItem, ProducerItem]

A key/value element that may be sent via the Producer.

-
\ No newline at end of file +
\ No newline at end of file diff --git a/docs/variables/DEFAULT_HOST.html b/docs/variables/DEFAULT_HOST.html index e3c4801d..8c8b39fe 100644 --- a/docs/variables/DEFAULT_HOST.html +++ b/docs/variables/DEFAULT_HOST.html @@ -1 +1 @@ -DEFAULT_HOST | @fluvio/client

Variable DEFAULT_HOSTConst

DEFAULT_HOST: "127.0.0.1" = '127.0.0.1'
\ No newline at end of file +DEFAULT_HOST | @fluvio/client

Variable DEFAULT_HOSTConst

DEFAULT_HOST: "127.0.0.1" = '127.0.0.1'
\ No newline at end of file diff --git a/docs/variables/DEFAULT_ID.html b/docs/variables/DEFAULT_ID.html index 988dc221..48085713 100644 --- a/docs/variables/DEFAULT_ID.html +++ b/docs/variables/DEFAULT_ID.html @@ -1 +1 @@ -DEFAULT_ID | @fluvio/client

Variable DEFAULT_IDConst

DEFAULT_ID: 0 = 0
\ No newline at end of file +DEFAULT_ID | @fluvio/client

Variable DEFAULT_IDConst

DEFAULT_ID: 0 = 0
\ No newline at end of file diff --git a/docs/variables/DEFAULT_IGNORE_RACK_ASSIGNMENT.html b/docs/variables/DEFAULT_IGNORE_RACK_ASSIGNMENT.html index f0c982a6..fe51e2d9 100644 --- a/docs/variables/DEFAULT_IGNORE_RACK_ASSIGNMENT.html +++ b/docs/variables/DEFAULT_IGNORE_RACK_ASSIGNMENT.html @@ -1 +1 @@ -DEFAULT_IGNORE_RACK_ASSIGNMENT | @fluvio/client

Variable DEFAULT_IGNORE_RACK_ASSIGNMENTConst

DEFAULT_IGNORE_RACK_ASSIGNMENT: false = false
\ No newline at end of file +DEFAULT_IGNORE_RACK_ASSIGNMENT | @fluvio/client

Variable DEFAULT_IGNORE_RACK_ASSIGNMENTConst

DEFAULT_IGNORE_RACK_ASSIGNMENT: false = false
\ No newline at end of file diff --git a/docs/variables/DEFAULT_MIN_ID.html b/docs/variables/DEFAULT_MIN_ID.html index 42ddc02f..993da206 100644 --- a/docs/variables/DEFAULT_MIN_ID.html +++ b/docs/variables/DEFAULT_MIN_ID.html @@ -1 +1 @@ -DEFAULT_MIN_ID | @fluvio/client

Variable DEFAULT_MIN_IDConst

DEFAULT_MIN_ID: 0 = 0
\ No newline at end of file +DEFAULT_MIN_ID | @fluvio/client

Variable DEFAULT_MIN_IDConst

DEFAULT_MIN_ID: 0 = 0
\ No newline at end of file diff --git a/docs/variables/DEFAULT_OFFSET.html b/docs/variables/DEFAULT_OFFSET.html index 4cb1ad48..199bc18f 100644 --- a/docs/variables/DEFAULT_OFFSET.html +++ b/docs/variables/DEFAULT_OFFSET.html @@ -1 +1 @@ -DEFAULT_OFFSET | @fluvio/client

Variable DEFAULT_OFFSETConst

DEFAULT_OFFSET: 0 = 0
\ No newline at end of file +DEFAULT_OFFSET | @fluvio/client

Variable DEFAULT_OFFSETConst

DEFAULT_OFFSET: 0 = 0
\ No newline at end of file diff --git a/docs/variables/DEFAULT_OFFSET_FROM.html b/docs/variables/DEFAULT_OFFSET_FROM.html index 35693597..d889e54d 100644 --- a/docs/variables/DEFAULT_OFFSET_FROM.html +++ b/docs/variables/DEFAULT_OFFSET_FROM.html @@ -1 +1 @@ -DEFAULT_OFFSET_FROM | @fluvio/client

Variable DEFAULT_OFFSET_FROMConst

DEFAULT_OFFSET_FROM: "end" = 'end'
\ No newline at end of file +DEFAULT_OFFSET_FROM | @fluvio/client

Variable DEFAULT_OFFSET_FROMConst

DEFAULT_OFFSET_FROM: "end" = 'end'
\ No newline at end of file diff --git a/docs/variables/DEFAULT_PARTITIONS.html b/docs/variables/DEFAULT_PARTITIONS.html index ba8321c5..f93405ea 100644 --- a/docs/variables/DEFAULT_PARTITIONS.html +++ b/docs/variables/DEFAULT_PARTITIONS.html @@ -1 +1 @@ -DEFAULT_PARTITIONS | @fluvio/client

Variable DEFAULT_PARTITIONSConst

DEFAULT_PARTITIONS: 1 = 1
\ No newline at end of file +DEFAULT_PARTITIONS | @fluvio/client

Variable DEFAULT_PARTITIONSConst

DEFAULT_PARTITIONS: 1 = 1
\ No newline at end of file diff --git a/docs/variables/DEFAULT_PORT.html b/docs/variables/DEFAULT_PORT.html index 560ab6f8..22d7cb5b 100644 --- a/docs/variables/DEFAULT_PORT.html +++ b/docs/variables/DEFAULT_PORT.html @@ -1 +1 @@ -DEFAULT_PORT | @fluvio/client

Variable DEFAULT_PORTConst

DEFAULT_PORT: 9003 = 9003
\ No newline at end of file +DEFAULT_PORT | @fluvio/client

Variable DEFAULT_PORTConst

DEFAULT_PORT: 9003 = 9003
\ No newline at end of file diff --git a/docs/variables/DEFAULT_PRIVATE_PORT.html b/docs/variables/DEFAULT_PRIVATE_PORT.html index 1a989c87..d2521542 100644 --- a/docs/variables/DEFAULT_PRIVATE_PORT.html +++ b/docs/variables/DEFAULT_PRIVATE_PORT.html @@ -1 +1 @@ -DEFAULT_PRIVATE_PORT | @fluvio/client

Variable DEFAULT_PRIVATE_PORTConst

DEFAULT_PRIVATE_PORT: 9006 = 9006
\ No newline at end of file +DEFAULT_PRIVATE_PORT | @fluvio/client

Variable DEFAULT_PRIVATE_PORTConst

DEFAULT_PRIVATE_PORT: 9006 = 9006
\ No newline at end of file diff --git a/docs/variables/DEFAULT_PUBLIC_PORT.html b/docs/variables/DEFAULT_PUBLIC_PORT.html index fe39e245..d8d6072c 100644 --- a/docs/variables/DEFAULT_PUBLIC_PORT.html +++ b/docs/variables/DEFAULT_PUBLIC_PORT.html @@ -1 +1 @@ -DEFAULT_PUBLIC_PORT | @fluvio/client

Variable DEFAULT_PUBLIC_PORTConst

DEFAULT_PUBLIC_PORT: 9005 = 9005
\ No newline at end of file +DEFAULT_PUBLIC_PORT | @fluvio/client

Variable DEFAULT_PUBLIC_PORTConst

DEFAULT_PUBLIC_PORT: 9005 = 9005
\ No newline at end of file diff --git a/docs/variables/DEFAULT_REPLICAS.html b/docs/variables/DEFAULT_REPLICAS.html index 08c73d19..07f9aa73 100644 --- a/docs/variables/DEFAULT_REPLICAS.html +++ b/docs/variables/DEFAULT_REPLICAS.html @@ -1 +1 @@ -DEFAULT_REPLICAS | @fluvio/client

Variable DEFAULT_REPLICASConst

DEFAULT_REPLICAS: 3 = 3
\ No newline at end of file +DEFAULT_REPLICAS | @fluvio/client

Variable DEFAULT_REPLICASConst

DEFAULT_REPLICAS: 3 = 3
\ No newline at end of file diff --git a/docs/variables/DEFAULT_REPLICATION_FACTOR.html b/docs/variables/DEFAULT_REPLICATION_FACTOR.html index 409342bc..85374462 100644 --- a/docs/variables/DEFAULT_REPLICATION_FACTOR.html +++ b/docs/variables/DEFAULT_REPLICATION_FACTOR.html @@ -1 +1 @@ -DEFAULT_REPLICATION_FACTOR | @fluvio/client

Variable DEFAULT_REPLICATION_FACTORConst

DEFAULT_REPLICATION_FACTOR: 1 = 1
\ No newline at end of file +DEFAULT_REPLICATION_FACTOR | @fluvio/client

Variable DEFAULT_REPLICATION_FACTORConst

DEFAULT_REPLICATION_FACTOR: 1 = 1
\ No newline at end of file diff --git a/docs/variables/DEFAULT_TOPIC.html b/docs/variables/DEFAULT_TOPIC.html index 17b55076..bf7a0b75 100644 --- a/docs/variables/DEFAULT_TOPIC.html +++ b/docs/variables/DEFAULT_TOPIC.html @@ -1 +1 @@ -DEFAULT_TOPIC | @fluvio/client

Variable DEFAULT_TOPICConst

DEFAULT_TOPIC: "message" = 'message'
\ No newline at end of file +DEFAULT_TOPIC | @fluvio/client

Variable DEFAULT_TOPICConst

DEFAULT_TOPIC: "message" = 'message'
\ No newline at end of file diff --git a/docs/variables/PartitionConsumerJS.html b/docs/variables/PartitionConsumerJS.html index 3ec9118e..a155c1e0 100644 --- a/docs/variables/PartitionConsumerJS.html +++ b/docs/variables/PartitionConsumerJS.html @@ -1 +1 @@ -PartitionConsumerJS | @fluvio/client

Variable PartitionConsumerJSConst

PartitionConsumerJS: any = native.PartitionConsumerJS
\ No newline at end of file +PartitionConsumerJS | @fluvio/client

Variable PartitionConsumerJSConst

PartitionConsumerJS: any = native.PartitionConsumerJS
\ No newline at end of file