# memcached

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

---
title: memcached
latest-operator-version: v26.1.4
latest-console-tag: v3.7.3
latest-connect-version: 4.93.0
latest-redpanda-tag: v26.1.9
docname: connect/components/caches/memcached
page-component-name: cloud-data-platform
page-version: master
page-component-version: master
page-component-title: Cloud
page-relative-src-path: connect/components/caches/memcached.adoc
page-edit-url: https://github.com/redpanda-data/cloud-docs/edit/main/modules/develop/pages/connect/components/caches/memcached.adoc
page-git-created-date: "2024-09-09"
page-git-modified-date: "2026-05-26"
---

<!-- Source: https://docs.redpanda.com/cloud-data-platform/develop/connect/components/caches/memcached.md -->

**Available in:** Cloud, [Self-Managed](https://docs.redpanda.com/connect/components/caches/memcached/%20%22View%20the%20Self-Managed%20version%20of%20this%20component%22)

Connects to a cluster of memcached services, a prefix can be specified to allow multiple cache types to share a memcached cluster under different namespaces.

#### Common

```yml
caches:
  memcached:
    addresses: [] # No default (required)
    prefix: "" # No default (optional)
    default_ttl: 300s
```

#### Advanced

```yml
caches:
  memcached:
    addresses: [] # No default (required)
    prefix: "" # No default (optional)
    default_ttl: 300s
    retries:
      initial_interval: 1s
      max_interval: 5s
      max_elapsed_time: 30s
```

## [](#fields)Fields

### [](#addresses)`addresses[]`

A list of addresses of memcached servers to use.

**Type**: `array`

### [](#default_ttl)`default_ttl`

A default TTL to set for items, calculated from the moment the item is cached.

**Type**: `string`

**Default**: `300s`

### [](#prefix)`prefix`

An optional string to prefix item keys with in order to prevent collisions with similar services.

**Type**: `string`

### [](#retries)`retries`

Determine time intervals and cut offs for retry attempts.

**Type**: `object`

### [](#retries-initial_interval)`retries.initial_interval`

The initial period to wait between retry attempts.

**Type**: `string`

**Default**: `1s`

```yaml
# Examples:
initial_interval: 50ms

# ---

initial_interval: 1s
```

### [](#retries-max_elapsed_time)`retries.max_elapsed_time`

The maximum overall period of time to spend on retry attempts before the request is aborted.

**Type**: `string`

**Default**: `30s`

```yaml
# Examples:
max_elapsed_time: 1m

# ---

max_elapsed_time: 1h
```

### [](#retries-max_interval)`retries.max_interval`

The maximum period to wait between retry attempts

**Type**: `string`

**Default**: `5s`

```yaml
# Examples:
max_interval: 5s

# ---

max_interval: 1m
```