Send a payload to a TCP server.

yaml
type: "io.kestra.plugin.fs.tcp.Send"

Send a UTF-8 message to a TCP server.

yaml
id: tcp_send_example
namespace: dev

tasks:
  - id: send_tcp
    type: io.kestra.plugin.fs.tcp.Send
    host: 127.0.0.1
    port: 9090
    payload: "Hello from Kestra"
Properties

The target host or IP address.

The payload to send over TCP.

The target port number.

Default UTF-8

Encoding for the payload. Use 'BASE64' for binary data.

Default {}
Format duration

Optional timeout for the socket connection.

The target host.

The target port.

Number of bytes sent.