# Usage of credentials for Kafka Consumer

**URL:** <https://discourse.nodered.org/t/usage-of-credentials-for-kafka-consumer/84418>\
**Category:** General\
**Created:** [9 January 2024 10:50 UTC](https://discourse.nodered.org/t/usage-of-credentials-for-kafka-consumer/84418 "2024-01-09T10:50:55Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![maxfa](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/maxfa/32/87158_2.png) [@maxfa](https://discourse.nodered.org/u/maxfa)\
**Post date:** [9 January 2024 10:50 UTC](https://discourse.nodered.org/t/usage-of-credentials-for-kafka-consumer/84418/1 "2024-01-09T10:50:56Z")

</div>

Hey everyone,

I am relatively new to node-red and I want to use it for demonstrating kafka streaming.

For this I have used the node-red-contrib-kafka-client node to build up a kafka producer and a kafka consumer. This all works fine, now I just want to include access control lists to regulate who can consume from the topic. How can I then use the credentials (username + pw) to login with my kafka consumer within node-red to receive the messages from the producer? I have not found a suitable node in the library so far.

Thanks,

Max

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [9 March 2024 10:51 UTC](https://discourse.nodered.org/t/usage-of-credentials-for-kafka-consumer/84418/2 "2024-03-09T10:51:57Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
