@pulumi/confluentcloud 2.16.0-alpha.1739378063 → 2.16.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/connector.d.ts CHANGED
@@ -172,6 +172,83 @@ import * as outputs from "./types/output";
172
172
  * });
173
173
  * ```
174
174
  *
175
+ * ### Example Managed [MySQL Sink Connector](https://docs.confluent.io/cloud/current/connectors/cc-mysql-sink.html) that uses a service account to communicate with your Kafka cluster
176
+ *
177
+ * ```typescript
178
+ * import * as pulumi from "@pulumi/pulumi";
179
+ * import * as confluentcloud from "@pulumi/confluentcloud";
180
+ *
181
+ * // https://github.com/confluentinc/terraform-provider-confluent/tree/master/examples/configurations/connectors/manage-offsets-source-sink-connector
182
+ * const sink = new confluentcloud.Connector("sink", {
183
+ * environment: {
184
+ * id: staging.id,
185
+ * },
186
+ * kafkaCluster: {
187
+ * id: basic.id,
188
+ * },
189
+ * configSensitive: {
190
+ * "connection.password": "***REDACTED***",
191
+ * },
192
+ * configNonsensitive: {
193
+ * "connector.class": "MySqlSink",
194
+ * name: "MySQLSinkConnector_0",
195
+ * topics: orders.topicName,
196
+ * "input.data.format": "AVRO",
197
+ * "kafka.auth.mode": "SERVICE_ACCOUNT",
198
+ * "kafka.service.account.id": app_connector.id,
199
+ * "db.name": "test_database",
200
+ * "connection.user": "confluent_user",
201
+ * "connection.host": "dev-testing-temp.abcdefghijk.us-west-7.rds.amazonaws.com",
202
+ * "connection.port": "3306",
203
+ * "insert.mode": "INSERT",
204
+ * "auto.create": "true",
205
+ * "auto.evolve": "true",
206
+ * "tasks.max": "1",
207
+ * },
208
+ * offsets: [
209
+ * {
210
+ * partition: {
211
+ * kafka_partition: "0",
212
+ * kafka_topic: orders.topicName,
213
+ * },
214
+ * offset: {
215
+ * kafka_offset: "100",
216
+ * },
217
+ * },
218
+ * {
219
+ * partition: {
220
+ * kafka_partition: "1",
221
+ * kafka_topic: orders.topicName,
222
+ * },
223
+ * offset: {
224
+ * kafka_offset: "200",
225
+ * },
226
+ * },
227
+ * {
228
+ * partition: {
229
+ * kafka_partition: "2",
230
+ * kafka_topic: orders.topicName,
231
+ * },
232
+ * offset: {
233
+ * kafka_offset: "300",
234
+ * },
235
+ * },
236
+ * ],
237
+ * }, {
238
+ * dependsOn: [
239
+ * app_connector_describe_on_cluster,
240
+ * app_connector_read_on_target_topic,
241
+ * app_connector_create_on_dlq_lcc_topics,
242
+ * app_connector_write_on_dlq_lcc_topics,
243
+ * app_connector_create_on_success_lcc_topics,
244
+ * app_connector_write_on_success_lcc_topics,
245
+ * app_connector_create_on_error_lcc_topics,
246
+ * app_connector_write_on_error_lcc_topics,
247
+ * app_connector_read_on_connect_lcc_group,
248
+ * ],
249
+ * });
250
+ * ```
251
+ *
175
252
  * ### Example Custom [Datagen Source Connector](https://www.confluent.io/hub/confluentinc/kafka-connect-datagen) that uses a Kafka API Key to communicate with your Kafka cluster
176
253
  * ```typescript
177
254
  * import * as pulumi from "@pulumi/pulumi";
@@ -221,6 +298,9 @@ import * as outputs from "./types/output";
221
298
  * * `sql-server-cdc-debezium-source-connector`
222
299
  * * `postgre-sql-cdc-debezium-source-connector`
223
300
  * * `custom-datagen-source-connector`
301
+ * * `manage-offsets-github-source-connector`
302
+ * * `manage-offsets-mongo-db-source-connector`
303
+ * * `manage-offsets-mysql-sink-connector`
224
304
  *
225
305
  * > **Note:** Certain connectors require additional ACL entries. See [Additional ACL entries](https://docs.confluent.io/cloud/current/connectors/service-account.html#additional-acl-entries) for more details.
226
306
  *
@@ -269,9 +349,15 @@ export declare class Connector extends pulumi.CustomResource {
269
349
  */
270
350
  readonly environment: pulumi.Output<outputs.ConnectorEnvironment>;
271
351
  readonly kafkaCluster: pulumi.Output<outputs.ConnectorKafkaCluster>;
352
+ /**
353
+ * Connector partitions with offsets
354
+ */
355
+ readonly offsets: pulumi.Output<outputs.ConnectorOffset[] | undefined>;
272
356
  /**
273
357
  * The status of the connector (one of `"NONE"`, `"PROVISIONING"`, `"RUNNING"`, `"DEGRADED"`, `"FAILED"`, `"PAUSED"`, `"DELETED"`). Pausing (`"RUNNING" > "PAUSED"`) and resuming (`"PAUSED" > "RUNNING"`) a connector is supported via an update operation.
274
358
  *
359
+ * For more information on connector offset management, see [Manage Offsets for Fully-Managed Connectors in Confluent Cloud](https://docs.confluent.io/cloud/current/connectors/offsets.html).
360
+ *
275
361
  * > **Note:** If there are no _sensitive_ configuration settings for your connector, set `configSensitive = {}` explicitly.
276
362
  *
277
363
  * > **Note:** You may declare sensitive variables for secrets `configSensitive` block and set them using environment variables (for example, `export TF_VAR_aws_access_key_id="foo"`).
@@ -307,9 +393,15 @@ export interface ConnectorState {
307
393
  */
308
394
  environment?: pulumi.Input<inputs.ConnectorEnvironment>;
309
395
  kafkaCluster?: pulumi.Input<inputs.ConnectorKafkaCluster>;
396
+ /**
397
+ * Connector partitions with offsets
398
+ */
399
+ offsets?: pulumi.Input<pulumi.Input<inputs.ConnectorOffset>[]>;
310
400
  /**
311
401
  * The status of the connector (one of `"NONE"`, `"PROVISIONING"`, `"RUNNING"`, `"DEGRADED"`, `"FAILED"`, `"PAUSED"`, `"DELETED"`). Pausing (`"RUNNING" > "PAUSED"`) and resuming (`"PAUSED" > "RUNNING"`) a connector is supported via an update operation.
312
402
  *
403
+ * For more information on connector offset management, see [Manage Offsets for Fully-Managed Connectors in Confluent Cloud](https://docs.confluent.io/cloud/current/connectors/offsets.html).
404
+ *
313
405
  * > **Note:** If there are no _sensitive_ configuration settings for your connector, set `configSensitive = {}` explicitly.
314
406
  *
315
407
  * > **Note:** You may declare sensitive variables for secrets `configSensitive` block and set them using environment variables (for example, `export TF_VAR_aws_access_key_id="foo"`).
@@ -337,9 +429,15 @@ export interface ConnectorArgs {
337
429
  */
338
430
  environment: pulumi.Input<inputs.ConnectorEnvironment>;
339
431
  kafkaCluster: pulumi.Input<inputs.ConnectorKafkaCluster>;
432
+ /**
433
+ * Connector partitions with offsets
434
+ */
435
+ offsets?: pulumi.Input<pulumi.Input<inputs.ConnectorOffset>[]>;
340
436
  /**
341
437
  * The status of the connector (one of `"NONE"`, `"PROVISIONING"`, `"RUNNING"`, `"DEGRADED"`, `"FAILED"`, `"PAUSED"`, `"DELETED"`). Pausing (`"RUNNING" > "PAUSED"`) and resuming (`"PAUSED" > "RUNNING"`) a connector is supported via an update operation.
342
438
  *
439
+ * For more information on connector offset management, see [Manage Offsets for Fully-Managed Connectors in Confluent Cloud](https://docs.confluent.io/cloud/current/connectors/offsets.html).
440
+ *
343
441
  * > **Note:** If there are no _sensitive_ configuration settings for your connector, set `configSensitive = {}` explicitly.
344
442
  *
345
443
  * > **Note:** You may declare sensitive variables for secrets `configSensitive` block and set them using environment variables (for example, `export TF_VAR_aws_access_key_id="foo"`).
package/connector.js CHANGED
@@ -176,6 +176,83 @@ const utilities = require("./utilities");
176
176
  * });
177
177
  * ```
178
178
  *
179
+ * ### Example Managed [MySQL Sink Connector](https://docs.confluent.io/cloud/current/connectors/cc-mysql-sink.html) that uses a service account to communicate with your Kafka cluster
180
+ *
181
+ * ```typescript
182
+ * import * as pulumi from "@pulumi/pulumi";
183
+ * import * as confluentcloud from "@pulumi/confluentcloud";
184
+ *
185
+ * // https://github.com/confluentinc/terraform-provider-confluent/tree/master/examples/configurations/connectors/manage-offsets-source-sink-connector
186
+ * const sink = new confluentcloud.Connector("sink", {
187
+ * environment: {
188
+ * id: staging.id,
189
+ * },
190
+ * kafkaCluster: {
191
+ * id: basic.id,
192
+ * },
193
+ * configSensitive: {
194
+ * "connection.password": "***REDACTED***",
195
+ * },
196
+ * configNonsensitive: {
197
+ * "connector.class": "MySqlSink",
198
+ * name: "MySQLSinkConnector_0",
199
+ * topics: orders.topicName,
200
+ * "input.data.format": "AVRO",
201
+ * "kafka.auth.mode": "SERVICE_ACCOUNT",
202
+ * "kafka.service.account.id": app_connector.id,
203
+ * "db.name": "test_database",
204
+ * "connection.user": "confluent_user",
205
+ * "connection.host": "dev-testing-temp.abcdefghijk.us-west-7.rds.amazonaws.com",
206
+ * "connection.port": "3306",
207
+ * "insert.mode": "INSERT",
208
+ * "auto.create": "true",
209
+ * "auto.evolve": "true",
210
+ * "tasks.max": "1",
211
+ * },
212
+ * offsets: [
213
+ * {
214
+ * partition: {
215
+ * kafka_partition: "0",
216
+ * kafka_topic: orders.topicName,
217
+ * },
218
+ * offset: {
219
+ * kafka_offset: "100",
220
+ * },
221
+ * },
222
+ * {
223
+ * partition: {
224
+ * kafka_partition: "1",
225
+ * kafka_topic: orders.topicName,
226
+ * },
227
+ * offset: {
228
+ * kafka_offset: "200",
229
+ * },
230
+ * },
231
+ * {
232
+ * partition: {
233
+ * kafka_partition: "2",
234
+ * kafka_topic: orders.topicName,
235
+ * },
236
+ * offset: {
237
+ * kafka_offset: "300",
238
+ * },
239
+ * },
240
+ * ],
241
+ * }, {
242
+ * dependsOn: [
243
+ * app_connector_describe_on_cluster,
244
+ * app_connector_read_on_target_topic,
245
+ * app_connector_create_on_dlq_lcc_topics,
246
+ * app_connector_write_on_dlq_lcc_topics,
247
+ * app_connector_create_on_success_lcc_topics,
248
+ * app_connector_write_on_success_lcc_topics,
249
+ * app_connector_create_on_error_lcc_topics,
250
+ * app_connector_write_on_error_lcc_topics,
251
+ * app_connector_read_on_connect_lcc_group,
252
+ * ],
253
+ * });
254
+ * ```
255
+ *
179
256
  * ### Example Custom [Datagen Source Connector](https://www.confluent.io/hub/confluentinc/kafka-connect-datagen) that uses a Kafka API Key to communicate with your Kafka cluster
180
257
  * ```typescript
181
258
  * import * as pulumi from "@pulumi/pulumi";
@@ -225,6 +302,9 @@ const utilities = require("./utilities");
225
302
  * * `sql-server-cdc-debezium-source-connector`
226
303
  * * `postgre-sql-cdc-debezium-source-connector`
227
304
  * * `custom-datagen-source-connector`
305
+ * * `manage-offsets-github-source-connector`
306
+ * * `manage-offsets-mongo-db-source-connector`
307
+ * * `manage-offsets-mysql-sink-connector`
228
308
  *
229
309
  * > **Note:** Certain connectors require additional ACL entries. See [Additional ACL entries](https://docs.confluent.io/cloud/current/connectors/service-account.html#additional-acl-entries) for more details.
230
310
  *
@@ -272,6 +352,7 @@ class Connector extends pulumi.CustomResource {
272
352
  resourceInputs["configSensitive"] = state ? state.configSensitive : undefined;
273
353
  resourceInputs["environment"] = state ? state.environment : undefined;
274
354
  resourceInputs["kafkaCluster"] = state ? state.kafkaCluster : undefined;
355
+ resourceInputs["offsets"] = state ? state.offsets : undefined;
275
356
  resourceInputs["status"] = state ? state.status : undefined;
276
357
  }
277
358
  else {
@@ -289,6 +370,7 @@ class Connector extends pulumi.CustomResource {
289
370
  resourceInputs["configSensitive"] = (args === null || args === void 0 ? void 0 : args.configSensitive) ? pulumi.secret(args.configSensitive) : undefined;
290
371
  resourceInputs["environment"] = args ? args.environment : undefined;
291
372
  resourceInputs["kafkaCluster"] = args ? args.kafkaCluster : undefined;
373
+ resourceInputs["offsets"] = args ? args.offsets : undefined;
292
374
  resourceInputs["status"] = args ? args.status : undefined;
293
375
  }
294
376
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
package/connector.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"connector.js","sourceRoot":"","sources":["../connector.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA0OG;AACH,MAAa,SAAU,SAAQ,MAAM,CAAC,cAAc;IAChD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAsB,EAAE,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kGC;AApFG,gBAAgB;AACO,sBAAY,GAAG,0CAA0C,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pulumi/confluentcloud",
3
- "version": "2.16.0-alpha.1739378063",
3
+ "version": "2.16.0",
4
4
  "description": "A Pulumi package for creating and managing Confluent cloud resources.",
5
5
  "keywords": [
6
6
  "pulumi",
@@ -24,6 +24,6 @@
24
24
  "pulumi": {
25
25
  "resource": true,
26
26
  "name": "confluentcloud",
27
- "version": "2.16.0-alpha.1739378063"
27
+ "version": "2.16.0"
28
28
  }
29
29
  }
package/types/input.d.ts CHANGED
@@ -365,6 +365,20 @@ export interface ConnectorKafkaCluster {
365
365
  */
366
366
  id: pulumi.Input<string>;
367
367
  }
368
+ export interface ConnectorOffset {
369
+ /**
370
+ * Block with offset information that supports different keys depending on the connector type. For sink connectors, use `kafkaOffset`. For source connectors, the applicable keys differ by kind—refer to the [Source connectors page](https://docs.confluent.io/cloud/current/connectors/offsets.html#source-connectors) for the full list of supported keys. Alternatively, use the [Manage custom offsets section](https://docs.confluent.io/cloud/current/connectors/cc-github-source.html#manage-custom-offsets) on the homepage of the target source connector.
371
+ */
372
+ offset: pulumi.Input<{
373
+ [key: string]: pulumi.Input<string>;
374
+ }>;
375
+ /**
376
+ * Block with partition information that supports different keys depending on the connector type. For sink connectors, use `kafkaPartition` and `kafkaTopic`. For source connectors, the applicable keys differ by kind—refer to the [Source connectors page](https://docs.confluent.io/cloud/current/connectors/offsets.html#source-connectors) for the full list of supported keys.
377
+ */
378
+ partition: pulumi.Input<{
379
+ [key: string]: pulumi.Input<string>;
380
+ }>;
381
+ }
368
382
  export interface DnsForwarderEnvironment {
369
383
  /**
370
384
  * The ID of the Environment that the DNS Forwarder belongs to, for example, `env-abc123`.
package/types/output.d.ts CHANGED
@@ -364,6 +364,20 @@ export interface ConnectorKafkaCluster {
364
364
  */
365
365
  id: string;
366
366
  }
367
+ export interface ConnectorOffset {
368
+ /**
369
+ * Block with offset information that supports different keys depending on the connector type. For sink connectors, use `kafkaOffset`. For source connectors, the applicable keys differ by kind—refer to the [Source connectors page](https://docs.confluent.io/cloud/current/connectors/offsets.html#source-connectors) for the full list of supported keys. Alternatively, use the [Manage custom offsets section](https://docs.confluent.io/cloud/current/connectors/cc-github-source.html#manage-custom-offsets) on the homepage of the target source connector.
370
+ */
371
+ offset: {
372
+ [key: string]: string;
373
+ };
374
+ /**
375
+ * Block with partition information that supports different keys depending on the connector type. For sink connectors, use `kafkaPartition` and `kafkaTopic`. For source connectors, the applicable keys differ by kind—refer to the [Source connectors page](https://docs.confluent.io/cloud/current/connectors/offsets.html#source-connectors) for the full list of supported keys.
376
+ */
377
+ partition: {
378
+ [key: string]: string;
379
+ };
380
+ }
367
381
  export interface DnsForwarderEnvironment {
368
382
  /**
369
383
  * The ID of the Environment that the DNS Forwarder belongs to, for example, `env-abc123`.