wu-sheng commented on issue #5142:
URL: https://github.com/apache/skywalking/issues/5142#issuecomment-661839274
I think this is fully described in the comments.
```
/**
* OAP server could work in different roles.
*/
public enum Role {
/**
* Default role. OAP works as the {@link #Receiver} and {@link
#Aggregator}
*/
Mixed,
/**
* Receiver mode OAP open the service to the agents, analysis and
aggregate the results and forward the results
* to {@link #Mixed} and {@link #Aggregator} roles OAP. The only
exception is for {@link
* org.apache.skywalking.oap.server.core.analysis.record.Record},
they don't require 2nd round distributed
* aggregation, is being pushed into the storage from the receiver
OAP directly.
*/
Receiver,
/**
* Aggregator mode OAP receives data from {@link #Mixed} and {@link
#Aggregator} OAP nodes, and do 2nd round
* aggregation. Then save the final result to the storage.
*/
Aggregator
}
```
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]