Class KafkaRpcServerManager


  • public class KafkaRpcServerManager
    extends java.lang.Object
    This Manager runs on Minion, A consumer thread will be started on each RPC module which handles the request and executes it on rpc module and sends the response to Kafka. When the request is directed at specific minion (request with system-id), minion executes the request only if system-id matches with minionId.
    • Method Detail

      • init

        public void init()
                  throws java.io.IOException
        Throws:
        java.io.IOException
      • bind

        public void bind​(RpcModule module)
                  throws java.lang.Exception
        Throws:
        java.lang.Exception
      • unbind

        public void unbind​(RpcModule module)
                    throws java.lang.Exception
        Throws:
        java.lang.Exception
      • destroy

        public void destroy()