# 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.2.2
latest-console-tag: v3.10.0
latest-connect-version: 4.105.0
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
description: Split an input stream into a message per line of data.
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 -->

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`