Skip to content

[help]System.IO.IOException: Unable to write data to the transport connection: Broken pipe #2020

Answered by saber-wang
saber-wang asked this question in Q&A
Discussion options

You must be logged in to vote

@samsp-msft
Yes, it should have nothing to do with Yarp, so I put it in the discussion.
Netty is the server.

Comments in the code are not important.

This is the agent from skywalking to es. Here is the code processed by the es bulk interface.

In general, it is to judge whether the index meets the expectation. If it meets the expectation, it will read the next row and get 'tags_raw_data' from it.
After parsing, it will modify the index name and write

Bulk protocol example

{ "index" : { "_index" : "sw_log_1124", "_id" : "1" } }
{ "field1" : "value1","tags_raw_data":"ChEKCHRlc3QxS2V5EgV0ZXN0MQoRCgh0ZXN0MktleRIFdGVzdDIKEQoIdGVzdDNLZXkSBXRlc3QzChEKCHRlc3Q0S2V5EgV0ZXN0NAoRCgh0ZXN0NUtleRIFdGVzdD…

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
3 replies
@samsp-msft
Comment options

@saber-wang
Comment options

@Tratcher
Comment options

Answer selected by Tratcher
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants