nerdexam
Confluent

CCDAK · Question #177

You are composing a REST request to create a new connector in a running Connect cluster. You invoke POST /connectors with a configuration and receive a 409 (Conflict) response. What are two reasons…

The correct answer is C. The Connector already exists in the cluster. D. The Connect cluster is in process of rebalancing. A 409 Conflict occurs if a connector with the same name already exists in the cluster. A 409 Conflict can also occur if the Connect cluster is rebalancing, temporarily preventing the creation of new connectors.

Developing with Kafka Connect

Question

You are composing a REST request to create a new connector in a running Connect cluster. You invoke POST /connectors with a configuration and receive a 409 (Conflict) response. What are two reasons for this response? (Choose two.)

Options

  • AThe connector configuration was invalid, and the response body will expand on the configuration
  • BThe connect cluster has reached capacity, and new connectors cannot be created without
  • CThe Connector already exists in the cluster.
  • DThe Connect cluster is in process of rebalancing.

How the community answered

(35 responses)
  • A
    9% (3)
  • B
    14% (5)
  • C
    77% (27)

Explanation

A 409 Conflict occurs if a connector with the same name already exists in the cluster. A 409 Conflict can also occur if the Connect cluster is rebalancing, temporarily preventing the creation of new connectors.

Topics

#Connect REST API#connector creation#rebalancing#409 conflict

Community Discussion

No community discussion yet for this question.

Full CCDAK Practice