Anatomy of a Tap
Construction of a Tap
Overview
This article should give context about how a Tap is constructed.
Example & DSL attributes
This code defines a tap configuration for streaming data to the nasdaq_quotes
schema.
target schema Specifies that the data will be sent to the
nasdaq_quotes
schema.queue capacity Sets the maximum capacity of the queue to 15,000 events.
flush frequency Data will be flushed (written) every 5 events.
index An index is created on the
symbol
field, but it is not marked as unique (unique: false
).
This configuration controls how data is buffered and indexed before being sent to the target schema.
Example
Attributes schema
Index Attributes
Last updated