= lines
:type: scanner
:status: stable



////
     THIS FILE IS AUTOGENERATED!

     To make changes, edit the corresponding source file under:

     https://github.com/redpanda-data/connect/tree/main/internal/impl/<provider>.

     And:

     https://github.com/redpanda-data/connect/tree/main/cmd/tools/docs_gen/templates/plugin.adoc.tmpl
////

// © 2024 Redpanda Data Inc.


component_type_dropdown::[]


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

=== `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`

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 lines.


*Type*: `bool`

*Default*: `false`


