resourceByConsumer