# nanomsg

> For the complete documentation index, see [llms.txt](https://docs.redpanda.com/llms.txt). Component-specific: [connect-full.txt](https://docs.redpanda.com/connect-full.txt)

---
title: nanomsg
latest-connect-version: 4.93.0
latest-operator-version: v26.1.4
latest-console-tag: v3.7.3
latest-redpanda-tag: v26.1.9
docname: outputs/nanomsg
page-component-name: connect
page-version: master
page-component-version: master
page-component-title: Connect
page-relative-src-path: outputs/nanomsg.adoc
page-edit-url: https://github.com/redpanda-data/rp-connect-docs/edit/main/modules/components/pages/outputs/nanomsg.adoc
page-git-created-date: "2024-05-24"
page-git-modified-date: "2026-05-26"
---

<!-- Source: https://docs.redpanda.com/connect/components/outputs/nanomsg.md -->

**Type:** Output ▼

[Output](https://docs.redpanda.com/connect/components/outputs/nanomsg/)[Input](https://docs.redpanda.com/connect/components/inputs/nanomsg/)

**Available in:** Self-Managed

Send messages over a Nanomsg socket.

#### Common

```yml
outputs:
  label: ""
  nanomsg:
    urls: [] # No default (required)
    bind: false
    socket_type: PUSH
    poll_timeout: 5s
    max_in_flight: 64
```

#### Advanced

```yml
outputs:
  label: ""
  nanomsg:
    urls: [] # No default (required)
    bind: false
    socket_type: PUSH
    poll_timeout: 5s
    max_in_flight: 64
```

Currently only PUSH and PUB sockets are supported.

## [](#performance)Performance

This output benefits from sending multiple messages in flight in parallel for improved performance. You can tune the max number of in flight messages (or message batches) with the field `max_in_flight`.

## [](#fields)Fields

### [](#bind)`bind`

Whether the URLs listed should be bind (otherwise they are connected to).

**Type**: `bool`

**Default**: `false`

### [](#max_in_flight)`max_in_flight`

The maximum number of messages to have in flight at a given time. Increase this to improve throughput.

**Type**: `int`

**Default**: `64`

### [](#poll_timeout)`poll_timeout`

The maximum period of time to wait for a message to send before the request is abandoned and reattempted.

**Type**: `string`

**Default**: `5s`

### [](#socket_type)`socket_type`

The socket type to send with.

**Type**: `string`

**Default**: `PUSH`

**Options**: `PUSH`, `PUB`

### [](#urls)`urls[]`

A list of URLs to connect to. If an item of the list contains commas it will be expanded into multiple URLs.

**Type**: `array`