# 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: inputs/nanomsg
page-component-name: connect
page-version: master
page-component-version: master
page-component-title: Connect
page-relative-src-path: inputs/nanomsg.adoc
page-edit-url: https://github.com/redpanda-data/rp-connect-docs/edit/main/modules/components/pages/inputs/nanomsg.adoc
page-git-created-date: "2024-05-24"
page-git-modified-date: "2026-05-26"
---

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

**Type:** Input ▼

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

**Available in:** Self-Managed

Consumes messages via Nanomsg sockets (scalability protocols).

#### Common

```yml
inputs:
  label: ""
  nanomsg:
    urls: [] # No default (required)
    bind: true
    socket_type: PULL
    auto_replay_nacks: true
    sub_filters: []
```

#### Advanced

```yml
inputs:
  label: ""
  nanomsg:
    urls: [] # No default (required)
    bind: true
    socket_type: PULL
    auto_replay_nacks: true
    sub_filters: []
    poll_timeout: 5s
```

Currently only PULL and SUB sockets are supported.

## [](#fields)Fields

### [](#auto_replay_nacks)`auto_replay_nacks`

Whether messages that are rejected (nacked) at the output level should be automatically replayed indefinitely, eventually resulting in back pressure if the cause of the rejections is persistent. If set to `false` these messages will instead be deleted. Disabling auto replays can greatly improve memory efficiency of high throughput streams as the original shape of the data can be discarded immediately upon consumption and mutation.

**Type**: `bool`

**Default**: `true`

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

Whether the URLs provided should be connected to, or bound as.

**Type**: `bool`

**Default**: `true`

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

The period to wait until a poll is abandoned and reattempted.

**Type**: `string`

**Default**: `5s`

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

The socket type to use.

**Type**: `string`

**Default**: `PULL`

**Options**: `PULL`, `SUB`

### [](#sub_filters)`sub_filters[]`

A list of subscription topic filters to use when consuming from a SUB socket. Specifying a single sub\_filter of `''` will subscribe to everything.

**Type**: `array`

**Default**: `[]`

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

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

**Type**: `array`