UNPKG

@ydbjs/topic

Version:

YDB Topics client for publish-subscribe messaging. Provides at-least-once delivery, exactly-once publishing, FIFO guarantees, and scalable message processing for unstructured data.

7 lines 314 B
export const _get_producer_id = function get_producer_id() { let processId = process.pid; let currentTime = new Date().getTime(); let randomSuffix = Math.floor(Math.random() * 1_000_000); return `producer-${processId}-${currentTime}-${randomSuffix}`; }; //# sourceMappingURL=_gen_producer_id.js.map