Returns kwargs for both publisher and subscriber classes

def get_kwargs(self):
        """
        Returns kwargs for both publisher and subscriber classes
        """
        return {
            'host': self.host,
            'port': self.port,
            'channel': self.channel,
            'password': self.password
        }