Could you please share a bit more about your scenario?
Do you want to create a connection from your app to Kafka service?
Currently, Kafka connector is not supported within PowerApps. If you want to create a connection to your Kafka service from PowerApps, I afraid that there is no way to achieve your needs in PowerApps currently.
If you would like this feature to be added in PowerApps, please submit an idea to PowerApps Ideas Forum: