Temporal server consists of following 4 roles and the ports needed for those roles for communication.
- Frontend: This role is responsible for all in-bound API calls, including cross-dc related API which is invoked by remote cluster. It uses the grpcPort
7233
to host service handler and uses port6933
for membership related communication with other hosts. - History: Internal Temporal role to manage workflow state transitions. It uses grpcPort
7234
to host service handler and uses port6934
for membership related communication. - Matching: Internal Temporal role responsible for hosting TaskQueues for task dispatch. It uses grpcPort
7235
to host service handler and uses port6935
for membership related communication. - Worker: Internal Temporal role which runs background processing for replication queue, kafka visibility processor, and system workflows. It uses grpcPort
7239
to host service handler and uses port6939
for membership related communication.
Looks like the following 4 ports in our Dockerfile are unnecessary and probably leftover from Cadence:
7933
7934
7935
7939