Document an overview of action names and how they're used in the transport layer #100229
Labels
:Distributed/Network
Http and internode communication implementations
Team:Distributed
Meta label for distributed team
>tech debt
As noted at #100162 (comment) we don't really have any great overview docs about how transport actions are registered and used.
The Javadocs for
org.elasticsearch.transport.TransportHandshaker
describe the message format of transport handshakes which are pretty similar to regular transport message but we should have something similar about regular transport messages too. The key point there is that the action name is included (in plain ASCII) in the header (seeorg.elasticsearch.transport.Header
) and we use that string to pick the handler from the map of registered handlers:elasticsearch/server/src/main/java/org/elasticsearch/transport/InboundHandler.java
Lines 229 to 231 in 6caf9c1
The text was updated successfully, but these errors were encountered: