ADO.NET Provider for Apache Kafka

Build 25.0.9434

ExposeQueueMetadataColumns

Specifies whether the Partition, Offset, and Timestamp columns are exposed.

Data Type

bool

Default Value

true

Remarks

Apache Kafka messages include three pieces of metadata along with every message. These are the timestamp when the message was produced, what partition it was produced to, and the message's offset within that partition. The provider exposes these as the Timestamp, Partition, and Offset columns.

These columns are available on every table by default, but you can disable this property to hide them. Consider the following points when deciding whether to disable this option:

  • There is no performance benefit to hiding these columns. The Apache Kafka protocol sends them every time the provider consumes a message.
  • The provider uses the Partition column to restrict SELECTs to specific partitions. For example, to execute SELECT * FROM topic WHERE Partition IN (1, 2) the provider requests messages from only the first two partitions. Without the partition column the provider will always consume messages from all partitions, or whatever partitions are dictated by the current consumer group (if ConsumerGroupId is set).

Copyright (c) 2025 CData Software, Inc. - All rights reserved.
Build 25.0.9434