Skip to content

Commit

Permalink
(DOCSP-42962) Unnested 2 notes and 1 example in table.
Browse files Browse the repository at this point in the history
  • Loading branch information
your proper name committed Oct 3, 2024
1 parent 58123ae commit bb6e26f
Showing 1 changed file with 9 additions and 15 deletions.
24 changes: 9 additions & 15 deletions source/sink-connector/configuration-properties/kafka-topic.txt
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,8 @@ Settings
| **Description:**
| A list of Kafka topics that the sink connector watches.

.. note::

You can define either the ``topics`` or the ``topics.regex``
setting, but not both.
You can define either the ``topics`` or the ``topics.regex``
setting, but not both.

| **Accepted Values**: A comma-separated list of valid Kafka topics

Expand All @@ -58,20 +56,16 @@ Settings
| A regular expression that matches the Kafka topics that the sink
connector watches.

.. example::

.. code-block:: properties

topics.regex=activity\\.\\w+\\.clicks$
For example, the following regex matches topic names such as
"activity.landing.clicks" and "activity.support.clicks".
It does not match the topic names "activity.landing.views" and "activity.clicks".

This regex matches topic names such as "activity.landing.clicks"
and "activity.support.clicks". It does not match the topic names
"activity.landing.views" and "activity.clicks".
.. code-block:: properties

.. note::
topics.regex=activity\\.\\w+\\.clicks$

You can define either the ``topics`` or the ``topics.regex``
setting, but not both.
You can define either the ``topics`` or the ``topics.regex``
setting, but not both.

| **Accepted Values**: A valid regular expression pattern using ``java.util.regex.Pattern``.

Expand Down

0 comments on commit bb6e26f

Please sign in to comment.