Project

General

Profile

Task #18075

Go lib: add a document ID to each entry

Added by Shuvam Misra about 1 year ago. Updated 12 months ago.

Status:
Closed
Priority:
Normal
Start date:
Due date:
29/03/2024
% Done:

100%

Estimated time:

Description

The LogHarbour client (the Kafka producer) which is linked to the business application and queues the entries for insertion currently sends the log entry in the form of a LogEntry data structure. A new field will need to be added to this data structure, called ID. This will be a unique string, generated using the ksuid algorithm (see https://github.com/ksuid/ksuid) The business application will not need to change its code; this ID will be transparently added to each log entry by the client library which queues the message.

Also available in: Atom PDF