# When is a worker used to pause?

**URL:** <https://forum.confluent.io/t/when-is-a-worker-used-to-pause/3634>\
**Category:** Kafka Connect\
**Created:** [13 December 2021 07:54 UTC](https://forum.confluent.io/t/when-is-a-worker-used-to-pause/3634 "2021-12-13T07:54:41Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![joohy](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.confluent.io/joohy/32/996_2.png) [@joohy](https://forum.confluent.io/u/joohy)\
**Post date:** [13 December 2021 07:54 UTC](https://forum.confluent.io/t/when-is-a-worker-used-to-pause/3634/1 "2021-12-13T07:54:41Z")

</div>

When the connector worker is paused, no tasks are paused either.

```auto
 "status": {
            "name": "source-02",
            "connector": {
                "state": "PAUSED",
                "worker_id": "*"
            },
            "tasks": [
                {
                    "id": 0,
                    "state": "RUNNING",
                    "worker_id": "*"
                }
            ],
            "type": "source"
        }

```

If the connector is a jdbc source connector, does it continue to request db select queries?  
When is a worker used to pause?

---

<div class="post-metadata">

**Author:** ![mitchell-h](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.confluent.io/mitchell-h/32/1129_2.png) [@mitchell-h](https://forum.confluent.io/u/mitchell-h)\
**Post date:** [14 December 2021 13:31 UTC](https://forum.confluent.io/t/when-is-a-worker-used-to-pause/3634/2 "2021-12-14T13:31:27Z")

</div>

when the connector is paused no sql queries will be ran. It’s simply doing a keep alive on the tasks so they don’t rebalance or get killed.

A pause can be used to update the database, stop pulling updates for whatever reason(bad data in the database? schema change? etc). To make things work again issue a `resume`

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex019/uploads/confluentcommunity/original/1X/c49438c90c9df282e9996fdf6971be890c71b65a.svg) [@system](https://forum.confluent.io/u/system)\
**Post date:** [13 January 2022 13:31 UTC](https://forum.confluent.io/t/when-is-a-worker-used-to-pause/3634/3 "2022-01-13T13:31:31Z")

</div>

Closed on 13 January 2022 13:31 UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
