Krati URI Options - 6.3

Talend ESB Mediation Developer Guide

EnrichVersion
6.3
EnrichProdName
Talend Data Fabric
Talend Data Services Platform
Talend ESB
Talend MDM Platform
Talend Open Studio for ESB
Talend Real-Time Big Data Platform
task
Design and Development
EnrichPlatform
Talend ESB

Name

Default Value

Description

operation

CamelKratiPut

Producer Only. Specifies the type of operation that will be performed to the datastore. Allowed values are CamelKratiPut, CamelKratiGet, CamelKratiDelete & CamelKratiDeleteAll.

initialCapacity

100

The inital capcity of the store.

keySerializer

KratiDefaultSerializer

The serializer serializer that will be used to serialize the key.

valueSerializer

KratiDefaultSerializer

The serializer serializer that will be used to serialize the value.

segmentFactory

ChannelSegmentFactory

The segment factory to use. Allowed instance classes: ChannelSegmentFactory, MemorySegmentFactory, MappedSegmentFactory & WriteBufferSegmentFactory.

hashFunction

FnvHashFunction

The hash function to use. Allowed instance classes: FnvHashFunction, Fnv1Hash32, FnvHash64, Fnv1aHash32, Fnv1aHash64, JenkisHashFunction, MurmurHashFunctiom

maxMessagesPerPoll

Camel 2.10.5/2.11.1: The maximum number of messages which can be received in one poll. This can be used to avoid reading in too much data and taking up too much memory.

You can have as many of these options as you like.

krati:/tmp/krati?operation=CamelKratiGet&initialCapacity=10000&keySerializer=
#myCustomSerializer

For producer endpoint you can override all of the above URI options by passing the appropriate headers to the message.

Message Headers for datastore

Header

Description

CamelKratiOperation

The operation to be performed on the datastore. The valid options are

  • CamelKratiAdd

  • CamelKratiGet

  • CamelKratiDelete

  • CamelKratiDeleteAll

CamelKratiKey

The key

CamelKratiValue

The value