influxdata / influxdata/kapacitor

TCP event handler truncates messages longer than 1460 bytes

Open
#2,047 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
2.4k
Forks
479
Avg merge
4d 16h
Merged PRs (30d)
4

Description

Kapacitor's TCP event handler (https://docs.influxdata.com/kapacitor/v1.5/event_handlers/tcp/) by default sends a very big JSON object. Occasionally this JSON object becomes longer than 1460 bytes and the message is truncated when received at the TCP log server.

Not sure how this can be solved though.

Contributor guide

Open the contributing guide

Research direction

Start with Kapacitor's TCP event handler documentation at https://docs.influxdata.com/kapacitor/v1.5/event_handlers/tcp/ and trace the handler implementation that sends the JSON event. Reproduce the problem with an event whose JSON exceeds 1460 bytes, then verify that the complete message reaches the TCP log server without truncation.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
networking
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.