Kafka Writer (Deprecated)

On this Page

Starting from 4.22 GA release, this Snap Pack is deprecated. We recommend you to switch to using Confluent Kafka Snap Pack instead.

Snap type:

Writer


Description:

This Snap publishes binary messages to Kafka brokers under a specific topic.

  • Expected input:  The input is binary. The size of each binary should  be limited by the configuration of Kafka Broker. By default, it should be less than 1048576 Bytes.
  • Expected output:  The output is a document that contains the response from Kafka brokers when receiving the  message. The document includes topic (“kafka_topic”), partition(“kafka_partition”), offset(“kafka_offset”), group id(“kafka_group_id”) and the message body in String (“kafka_msg”). 


Prerequisites:

[None]


Support and limitations:

Works in Ultra Task Pipelines.

Account: 

This Snap uses account references created on the Accounts page of SnapLogic Manager to handle access to this endpoint. See Configuring Kafka Accounts (Deprecated) for information on setting up this type of account.


Views:
InputThis Snap has exactly one binary input view.
OutputThis Snap has at most one document output view.
ErrorThis Snap has at most one document error view and produces zero or more documents in the view.

Settings

Label


Required. The name for the Snap. You can modify this to be more specific, especially if you have more than one of the same Snap in your pipeline.

Topic



Required. The topic that messages from this writer belong to. 

This attribute can be from pipeline parameters.

Example: topic1,topic2

Default value: [None]


Batch size (Bytes)


Required. The size of data in bytes that the writer buffers before it sends to broker. The end of sending process will be triggered by both Batch size and Linger time depending on which match first. 

This attribute can be from pipeline parameters.

Default value: 16384


Linger time (ms)

The time the writer should wait before it sends the data out. In this period, the writer will keep batching data. The end of sending process will be triggered by both Batch Size and Linger Time depending on who match first.

This attribute can be from pipeline parameters.

Default value: 0


ACKS

The number of acknowledgments the writer requires the brokers to have received before considering a request complete.

For more details, see: http://kafka.apache.org/documentation.html 

Default value: 1 - Send with out replication acknowledgement


Sending synchronously

Option whether the writer should send data synchronously. By default, the writer sends data to Kafka broker asynchronously, so that it can batch data. If this option is checked, the writer will block after sending a message until feedback from broker is received. This option may slow down the sending process.

Default value: Not selected


Snap execution

Select one of the three modes in which the Snap executes. Available options are:

  • Validate & Execute: Performs limited execution of the Snap, and generates a data preview during Pipeline validation. Subsequently, performs full execution of the Snap (unlimited records) during Pipeline runtime.
  • Execute only: Performs full execution of the Snap during Pipeline execution without generating preview data.
  • Disabled: Disables the Snap and all Snaps that are downstream from it.


  • Examples


 


See Also

Snap Pack History

 Click to view/expand

4.22 (main6403)

4.21 (snapsmrc542)

  • No updates made.

4.20 (snapsmrc535)

  • No updates made.

4.19 (snapsmrc528)

  • No updates made.

4.18 (snapsmrc523)

  • No updates made.

4.17 Patch ALL7402

  • Pushed automatic rebuild of the latest version of each Snap Pack to SnapLogic UAT and Elastic servers.

4.17 (snapsmrc515)

  • Added the Snap Execution field to all Standard-mode Snaps. In some Snaps, this field replaces the existing Execute during preview check box.

4.16 (snapsmrc508)

  • No updates made. Automatic rebuild with a platform release.

4.15 (snapsmrc500)

  • No updates made. Automatic rebuild with a platform release.

4.14 (snapsmrc490)

  • No updates made. Automatic rebuild with a platform release.

4.13 (snapsmrc486)

  • No updates made. Automatic rebuild with a platform release.

4.12 (snapsmrc480)

  • No updates made. Automatic rebuild with a platform release.

4.11 [snapsmrc465]

  • No updates made. Automatic rebuild with a platform release.

4.10 (snapsmrc414)

  • No updates made. Automatic rebuild with a platform release.

4.9 (snapsmrc405)

  • No updates made. Automatic rebuild with a platform release.

4.8 (snapsmrc398)

  • Info tab added to accounts.
  • Database accounts now invalidate connection pools if account properties are modified and login attempts fail.

4.7 (snapsmrc382)

  • No updates made. Automatic rebuild with a platform release.

4.6 (snapsmrc362)

  • No updates made. Automatic rebuild with a platform release.

4.5.1 (snapsmrc344)

  • No updates made. Automatic rebuild with a platform release.

4.5.0 (snapsmrc344)

  • This Snap Pack was introduced in this release with a Kafka Reader and Kafka Writer Snap.