removed Endpoint from consumer/producer