# Connecting Kafka to Payara

**URL:** <https://forum.payara.fish/t/connecting-kafka-to-payara/544>\
**Category:** Technical Discussion\
**Tags:** security\
**Created:** [January 17, 2023, 9:33am UTC](https://forum.payara.fish/t/connecting-kafka-to-payara/544 "2023-01-17T09:33:33Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![JanNilsson](https://avatars.discourse-cdn.com/v4/letter/j/85e7bf/32.png) [@JanNilsson](https://forum.payara.fish/u/JanNilsson)\
**Post date:** [January 17, 2023, 9:33am UTC](https://forum.payara.fish/t/connecting-kafka-to-payara/544/1 "2023-01-17T09:33:33Z")

</div>

Hi  
Has anybody connected Kafka and ACL to a Payara server that uses declared security annotations like @DeclaredRoles @RolesAllowed?  
I’m interested in the translation/connection from the ACL’s roles to the roles defined in the security realm used in the Payara server.

/Jan
