import * as pulumi from "@pulumi/pulumi"; import * as inputs from "./types/input"; import * as outputs from "./types/output"; export declare class SourceKafka extends pulumi.CustomResource { /** * Get an existing SourceKafka resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: SourceKafkaState, opts?: pulumi.CustomResourceOptions): SourceKafka; /** * Returns true if the given object is an instance of SourceKafka. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is SourceKafka; /** * The cluster to maintain this source. */ readonly clusterName: pulumi.Output; /** * Comment on an object in the database. */ readonly comment: pulumi.Output; /** * The identifier for the source database in Materialize. Defaults to `MZ_DATABASE` environment variable if set or `materialize` if environment variable is not set. */ readonly databaseName: pulumi.Output; /** * How Materialize should interpret records (e.g. append-only, upsert).. */ readonly envelope: pulumi.Output; /** * The name of the progress collection for the source. If this is not specified, the collection will be named `_progress`. */ readonly exposeProgress: pulumi.Output; /** * How to decode raw bytes from different formats into data structures Materialize can understand at runtime. */ readonly format: pulumi.Output; /** * Include message headers. */ readonly includeHeaders: pulumi.Output; /** * Provide an alias for the headers column. */ readonly includeHeadersAlias: pulumi.Output; /** * Include a column containing the Kafka message key. */ readonly includeKey: pulumi.Output; /** * Provide an alias for the key column. */ readonly includeKeyAlias: pulumi.Output; /** * Include an offset column containing the Kafka message offset. */ readonly includeOffset: pulumi.Output; /** * Provide an alias for the offset column. */ readonly includeOffsetAlias: pulumi.Output; /** * Include a partition column containing the Kafka message partition */ readonly includePartition: pulumi.Output; /** * Provide an alias for the partition column. */ readonly includePartitionAlias: pulumi.Output; /** * Include a timestamp column containing the Kafka message timestamp. */ readonly includeTimestamp: pulumi.Output; /** * Provide an alias for the timestamp column. */ readonly includeTimestampAlias: pulumi.Output; /** * The Kafka connection to use in the source. */ readonly kafkaConnection: pulumi.Output; /** * Set the key format explicitly. */ readonly keyFormat: pulumi.Output; /** * The identifier for the source. */ readonly name: pulumi.Output; /** * The owernship role of the object. */ readonly ownershipRole: pulumi.Output; /** * The fully qualified name of the source. */ readonly qualifiedSqlName: pulumi.Output; /** * The region to use for the resource connection. If not set, the default region is used. */ readonly region: pulumi.Output; /** * The identifier for the source schema in Materialize. Defaults to `public`. */ readonly schemaName: pulumi.Output; /** * The size of the cluster maintaining this source. */ readonly size: pulumi.Output; readonly sourceKafkaId: pulumi.Output; /** * Read partitions from the specified offset. */ readonly startOffsets: pulumi.Output; /** * Use the specified value to set `START OFFSET` based on the Kafka timestamp. */ readonly startTimestamp: pulumi.Output; /** * The Kafka topic you want to subscribe to. */ readonly topic: pulumi.Output; /** * Set the value format explicitly. */ readonly valueFormat: pulumi.Output; /** * Create a SourceKafka resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: SourceKafkaArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering SourceKafka resources. */ export interface SourceKafkaState { /** * The cluster to maintain this source. */ clusterName?: pulumi.Input; /** * Comment on an object in the database. */ comment?: pulumi.Input; /** * The identifier for the source database in Materialize. Defaults to `MZ_DATABASE` environment variable if set or `materialize` if environment variable is not set. */ databaseName?: pulumi.Input; /** * How Materialize should interpret records (e.g. append-only, upsert).. */ envelope?: pulumi.Input; /** * The name of the progress collection for the source. If this is not specified, the collection will be named `_progress`. */ exposeProgress?: pulumi.Input; /** * How to decode raw bytes from different formats into data structures Materialize can understand at runtime. */ format?: pulumi.Input; /** * Include message headers. */ includeHeaders?: pulumi.Input; /** * Provide an alias for the headers column. */ includeHeadersAlias?: pulumi.Input; /** * Include a column containing the Kafka message key. */ includeKey?: pulumi.Input; /** * Provide an alias for the key column. */ includeKeyAlias?: pulumi.Input; /** * Include an offset column containing the Kafka message offset. */ includeOffset?: pulumi.Input; /** * Provide an alias for the offset column. */ includeOffsetAlias?: pulumi.Input; /** * Include a partition column containing the Kafka message partition */ includePartition?: pulumi.Input; /** * Provide an alias for the partition column. */ includePartitionAlias?: pulumi.Input; /** * Include a timestamp column containing the Kafka message timestamp. */ includeTimestamp?: pulumi.Input; /** * Provide an alias for the timestamp column. */ includeTimestampAlias?: pulumi.Input; /** * The Kafka connection to use in the source. */ kafkaConnection?: pulumi.Input; /** * Set the key format explicitly. */ keyFormat?: pulumi.Input; /** * The identifier for the source. */ name?: pulumi.Input; /** * The owernship role of the object. */ ownershipRole?: pulumi.Input; /** * The fully qualified name of the source. */ qualifiedSqlName?: pulumi.Input; /** * The region to use for the resource connection. If not set, the default region is used. */ region?: pulumi.Input; /** * The identifier for the source schema in Materialize. Defaults to `public`. */ schemaName?: pulumi.Input; /** * The size of the cluster maintaining this source. */ size?: pulumi.Input; sourceKafkaId?: pulumi.Input; /** * Read partitions from the specified offset. */ startOffsets?: pulumi.Input[]>; /** * Use the specified value to set `START OFFSET` based on the Kafka timestamp. */ startTimestamp?: pulumi.Input; /** * The Kafka topic you want to subscribe to. */ topic?: pulumi.Input; /** * Set the value format explicitly. */ valueFormat?: pulumi.Input; } /** * The set of arguments for constructing a SourceKafka resource. */ export interface SourceKafkaArgs { /** * The cluster to maintain this source. */ clusterName?: pulumi.Input; /** * Comment on an object in the database. */ comment?: pulumi.Input; /** * The identifier for the source database in Materialize. Defaults to `MZ_DATABASE` environment variable if set or `materialize` if environment variable is not set. */ databaseName?: pulumi.Input; /** * How Materialize should interpret records (e.g. append-only, upsert).. */ envelope?: pulumi.Input; /** * The name of the progress collection for the source. If this is not specified, the collection will be named `_progress`. */ exposeProgress?: pulumi.Input; /** * How to decode raw bytes from different formats into data structures Materialize can understand at runtime. */ format?: pulumi.Input; /** * Include message headers. */ includeHeaders?: pulumi.Input; /** * Provide an alias for the headers column. */ includeHeadersAlias?: pulumi.Input; /** * Include a column containing the Kafka message key. */ includeKey?: pulumi.Input; /** * Provide an alias for the key column. */ includeKeyAlias?: pulumi.Input; /** * Include an offset column containing the Kafka message offset. */ includeOffset?: pulumi.Input; /** * Provide an alias for the offset column. */ includeOffsetAlias?: pulumi.Input; /** * Include a partition column containing the Kafka message partition */ includePartition?: pulumi.Input; /** * Provide an alias for the partition column. */ includePartitionAlias?: pulumi.Input; /** * Include a timestamp column containing the Kafka message timestamp. */ includeTimestamp?: pulumi.Input; /** * Provide an alias for the timestamp column. */ includeTimestampAlias?: pulumi.Input; /** * The Kafka connection to use in the source. */ kafkaConnection: pulumi.Input; /** * Set the key format explicitly. */ keyFormat?: pulumi.Input; /** * The identifier for the source. */ name?: pulumi.Input; /** * The owernship role of the object. */ ownershipRole?: pulumi.Input; /** * The region to use for the resource connection. If not set, the default region is used. */ region?: pulumi.Input; /** * The identifier for the source schema in Materialize. Defaults to `public`. */ schemaName?: pulumi.Input; sourceKafkaId?: pulumi.Input; /** * Read partitions from the specified offset. */ startOffsets?: pulumi.Input[]>; /** * Use the specified value to set `START OFFSET` based on the Kafka timestamp. */ startTimestamp?: pulumi.Input; /** * The Kafka topic you want to subscribe to. */ topic: pulumi.Input; /** * Set the value format explicitly. */ valueFormat?: pulumi.Input; }