---
title: bounds_check
latest-connect-version: 4.118.0
latest-operator-version: v26.2.6
latest-console-tag: v3.15.0
latest-redpanda-tag: v26.2.7
docname: processors/bounds_check
page-component-name: connect
page-version: master
page-component-version: master
page-component-title: Connect
page-relative-src-path: processors/bounds_check.adoc
page-edit-url: https://github.com/redpanda-data/rp-connect-docs/edit/main/modules/components/pages/processors/bounds_check.adoc
description: Removes messages (and batches) that do not fit within certain size boundaries.
page-cloud-available: "true"
page-cloud-available-url: https://docs.redpanda.com/cloud-data-platform/develop/connect/components/processors/bounds_check/
page-git-created-date: "2024-05-24"
page-git-modified-date: "2026-10-29"
page-generated-sources:
  - include: connect:components:partial$descriptions/processors/bounds_check.adoc
    generator: null
    version: null
    source: the component specs in https://github.com/redpanda-data/connect
  - include: connect:components:partial$availability/processors/bounds_check.adoc
    generator: null
    version: null
    source: the component specs in https://github.com/redpanda-data/connect
  - include: connect:components:partial$fields/processors/bounds_check.adoc
    generator: null
    version: null
    source: the component specs in https://github.com/redpanda-data/connect
page-generated-content: partial
---

# bounds_check

> 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)

<!-- Source: https://docs.redpanda.com/connect/components/processors/bounds_check.md -->

Removes messages (and batches) that do not fit within certain size boundaries.

#### Common

```yml
processor:
  label: ""
  bounds_check:
    max_part_size: 1073741824
    min_part_size: 1
```

#### Advanced

```yml
processor:
  label: ""
  bounds_check:
    max_part_size: 1073741824
    min_part_size: 1
    max_parts: 100
    min_parts: 1
```

## Fields

### `max_part_size`

The maximum size of a message to allow (in bytes)

**Type**: `int`

**Default**: `1073741824`

### `max_parts`

The maximum size of message batches to allow (in message count)

**Type**: `int`

**Default**: `100`

### `min_part_size`

The minimum size of a message to allow (in bytes)

**Type**: `int`

**Default**: `1`

### `min_parts`

The minimum size of message batches to allow (in message count)

**Type**: `int`

**Default**: `1`