# lines

> 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: lines
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/scanners/lines
page-component-name: cloud-data-platform
page-version: master
page-component-version: master
page-component-title: Cloud
page-relative-src-path: connect/components/scanners/lines.adoc
page-edit-url: https://github.com/redpanda-data/cloud-docs/edit/main/modules/develop/pages/connect/components/scanners/lines.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/scanners/lines.md -->

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

Split an input stream into a message per line of data.

```yml
# Config fields, showing default values
lines:
  custom_delimiter: "" # No default (optional)
  max_buffer_size: 65536
  omit_empty: false
```

## [](#fields)Fields

### [](#custom_delimiter)`custom_delimiter`

Use a provided custom delimiter for detecting the end of a line rather than a single line break.

**Type**: `string`

### [](#max_buffer_size)`max_buffer_size`

Set the maximum buffer size for storing line data, this limits the maximum size that a line can be without causing an error.

**Type**: `int`

**Default**: `65536`

### [](#omit_empty)`omit_empty`

Omit empty lines.

**Type**: `bool`

**Default**: `false`