OptionalcotOptions passed through to @tak-ps/node-cot for CoT parsing
(e.g., on incoming 'cot' events). Does not affect the write pipeline.
OptionalidUnique connection identifier. Appears in log messages for debugging. Useful when running multiple TAK connections in a single process.
OptionalsocketHow many pre-serialized XML strings are popped from the ring buffer
and joined into a single socket.write() call in process(). Higher
values reduce syscall overhead and improve TLS frame packing, but
increase per-write latency and the size of each socket write.
OptionaltypeConnection type label. Informational only — helps distinguish connections in logs when multiple are active.
OptionalwriteCapacity of the ring buffer that sits between write() and process().
When the queue is full, write() yields via setImmediate() until
process() drains space. Larger values allow more XML strings to be
buffered, increasing throughput at the cost of higher peak memory.
Configuration options for a TAK connection.
Performance-related options control the write pipeline:
Example: High-throughput bulk ingestion
Example: Low-latency real-time streams