Message Router(MiniNetworkHub) is a application which will read json message from one kafka topic then parse it and check in the file whether the id which will be present in the message already exist in the file and if it is present then router will parse the message and writes same message to other topic otherwise create a exception saying device needs to register first. For more detail, check the upload document.