Apache Iggy Produce

Apache Iggy Produce

Certified

Publish messages to Apache Iggy stream and topic

Publishes one or more messages to an Apache Iggy stream and topic using data provided via from. Designed for UTF-8 text and JSON payloads; arbitrary binary payloads are not supported. Missing streams and topics are not created automatically unless createIfMissing: true is configured.

yaml
type: io.kestra.plugin.iggy.Produce

Produce messages to an Apache Iggy topic using username and password authentication

yaml
id: iggy_produce
namespace: company.team
tasks:
  - id: produce
    type: io.kestra.plugin.iggy.Produce
    host: iggy.example.com
    port: 8090
    username: "{{ secret('IGGY_USERNAME') }}"
    password: "{{ secret('IGGY_PASSWORD') }}"
    stream: orders
    topic: created
    createIfMissing: true
    from:
      - payload: '{"orderId": 1, "total": 42.5}'
      - payload: '{"orderId": 2, "total": 13.0}'

Produce messages from an internal storage file to an Apache Iggy topic

yaml
id: iggy_produce_from_file
namespace: company.team
tasks:
  - id: produce
    type: io.kestra.plugin.iggy.Produce
    host: iggy.example.com
    port: 8090
    username: "{{ secret('IGGY_USERNAME') }}"
    password: "{{ secret('IGGY_PASSWORD') }}"
    stream: orders
    topic: created
    createIfMissing: true
    from: "{{ outputs.some_task_with_output_file.uri }}"
Properties

Structured data items, either as a map, a list of map, a URI, or a JSON string.

Structured data items can be defined in the following ways:

  • A single item as a map (a document).
  • A list of items as a list of maps (a list of documents).
  • A URI, supported schemes are kestra for internal storage files, file for host local files, and nsfile for namespace files.
  • A JSON String that will then be serialized either as a single item or a list of items.

Server host

Hostname or IP address of the Apache Iggy server.

Stream identifier or name

Name or ID of the Apache Iggy stream to publish messages to.

Topic identifier or name

Name or ID of the Apache Iggy topic to publish messages to.

Assets this task consumes as inputs or produces as outputs, for lineage tracking and the asset graph (Enterprise Edition). A flow declaring this property on a task is rejected in the open-source edition.

Definitions
assetFailureBehaviorstring
Possible Values
IGNOREFAILWARN

Asset failure behavior

Behavior applied to the task state when a declared asset fails to render, emit, or be persisted (e.g. a lock conflict): FAIL escalates it to FAILED, WARN (default) warns it if it would otherwise succeed, IGNORE leaves the state untouched.

enableAutobooleanstring

Whether to auto-register assets referenced dynamically at runtime that are not statically declared in inputs or outputs.

inputsarray

The assets consumed as inputs.

id*string
Min length1
typestring
outputs

The assets produced as outputs.

id*string
Min length1
Max length150
type*object
descriptionstring
displayNamestring
metadataobject
Default{}
namespacestring
Min length1
Max length150
id*string
Min length1
Max length150
type*object
descriptionstring
displayNamestring
metadataobject
Default{}
namespacestring
Min length1
Max length150
id*string
Min length1
Max length150
type*object
descriptionstring
displayNamestring
metadataobject
Default{}
namespacestring
Min length1
Max length150
id*string
Min length1
Max length150
type*object
descriptionstring
displayNamestring
metadataobject
Default{}
namespacestring
Min length1
Max length150
id*string
Min length1
Max length150
type*object
descriptionstring
displayNamestring
metadataobject
Default{}
namespacestring
Min length1
Max length150
id*string
Min length1
Max length150
type*string
Min length1

Custom asset type

descriptionstring
displayNamestring
metadataobject
Default{}
namespacestring
Min length1
Max length150
Defaultfalse

Create missing stream and topic

Whether to automatically create the missing stream and topic if they do not exist. Defaults to false.

Partition ID

Optional partition ID to publish to. If omitted, balanced partitioning is used.

Authentication password

Password for authentication.

Default8090

Server port

Port of the Apache Iggy server. Defaults to 8090 for TCP and 3000 for HTTP.

Defaultfalse

Use TLS

Whether to enable TLS encryption for the connection. Defaults to false.

Personal access token

Personal access token (PAT) for token-based authentication.

DefaultTCP
Possible Values
TCPHTTP

Transport protocol

Transport protocol to use: TCP (default) or HTTP.

Authentication username

Username for authentication.

Messages produced

Total number of messages published during this task execution.