Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Traceability agent fails when receiving a single transaction from kong #68

Open
jcollins-axway opened this issue Jan 22, 2024 · 0 comments

Comments

@jcollins-axway
Copy link
Collaborator

If the Kong HTTP plugin is configured to only send a single transaction in each request then that transaction is sent as a KongTransaction object rather than a []KongTransaction array. The agent should be able to recognize that a single transaction is being sent rather than an array.

Either...

  • Handle single transaction requests

or...

  • Recognize that a single transaction was sent and log an error to ease the debugging

The latter may be preferred for higher throughput gateways as the Readme recommends setting the batch size, in the HTTP plugin, to 1000

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant