Skip to content

Clarification on fields and partition key usage #26

@findchris

Description

@findchris

Hi there, and thanks for koupler - it is just what we were looking for.

A question on usage:

    -delimiter <arg>          delimiter between fields (default: ',')
    -partitionKeyField <arg>  zero-based index of field containing partition key (default: 0)

Might be just terminology confusion on my part, but the docs say Kinesis message data is a just a blob of data (which, in my case, will be a JSON-encoded string). What is the fields concept here?

Additionally, if I wanted to use asdf123 as my partition key, and a JSON blob as my data, would the call (over HTTP) look like:

 curl -d "asdf123,{\"key\": \"value\"}" http://192.168.99.123:4321/event

I appreciate the clarification here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions