你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
DataflowEndpointKafka Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Kafka endpoint properties.
public class DataflowEndpointKafka : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.IotOperations.Models.DataflowEndpointKafka>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.IotOperations.Models.DataflowEndpointKafka>
type DataflowEndpointKafka = class
interface IJsonModel<DataflowEndpointKafka>
interface IPersistableModel<DataflowEndpointKafka>
Public Class DataflowEndpointKafka
Implements IJsonModel(Of DataflowEndpointKafka), IPersistableModel(Of DataflowEndpointKafka)
- Inheritance
-
DataflowEndpointKafka
- Implements
Constructors
DataflowEndpointKafka(DataflowEndpointKafkaAuthentication, String) |
Initializes a new instance of DataflowEndpointKafka. |
Properties
Authentication |
Authentication configuration. NOTE - only authentication property is allowed per entry. |
Batching |
Batching configuration. |
CloudEventAttributes |
Cloud event mapping config. |
Compression |
Compression. Can be none, gzip, lz4, or snappy. No effect if the endpoint is used as a source. |
ConsumerGroupId |
Consumer group ID. |
CopyMqttProperties |
Copy Broker properties. No effect if the endpoint is used as a source or if the dataflow doesn't have an Broker source. |
Host |
Kafka endpoint host. |
KafkaAcks |
Kafka acks. Can be all, one, or zero. No effect if the endpoint is used as a source. |
PartitionStrategy |
Partition handling strategy. Can be default or static. No effect if the endpoint is used as a source. |
Tls |
TLS configuration. |
Methods
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) |
Explicit Interface Implementations
IJsonModel<DataflowEndpointKafka>.Create(Utf8JsonReader, ModelReaderWriterOptions) |
Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model. |
IJsonModel<DataflowEndpointKafka>.Write(Utf8JsonWriter, ModelReaderWriterOptions) |
Writes the model to the provided Utf8JsonWriter. |
IPersistableModel<DataflowEndpointKafka>.Create(BinaryData, ModelReaderWriterOptions) |
Converts the provided BinaryData into a model. |
IPersistableModel<DataflowEndpointKafka>.GetFormatFromOptions(ModelReaderWriterOptions) |
Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service. |
IPersistableModel<DataflowEndpointKafka>.Write(ModelReaderWriterOptions) |
Writes the model into a BinaryData. |