Atlassian uses cookies to improve your browsing experience, perform analytics and research, and conduct advertising. Accept all cookies to indicate that you agree to our use of cookies on your device. Atlassian cookies and tracking notice, (opens new window)
es-rest: Non-persisted events overwrite single ES document with id=0
Description
If you set the es-rest forwarder to 'forwardAllEvents', events that are not persisted to the database are stored in the same, single ES document with the 'id' of zero. Subsequent events overwrite the document with a new version of the same document instead of generating additional documents.
We need to change the forwarder so that even if incoming events do not have database IDs, they generate separate ES documents.
If you set the es-rest forwarder to 'forwardAllEvents', events that are not persisted to the database are stored in the same, single ES document with the 'id' of zero. Subsequent events overwrite the document with a new version of the same document instead of generating additional documents.
We need to change the forwarder so that even if incoming events do not have database IDs, they generate separate ES documents.