R
Railway

✋|help

How to use the Kafka project?

Ppeauts8/21/2023
I'm relatively new to Kafka and I want to publish and consume events to the Kafka running in a kafka zookeeper railway project from external code.

How should I do this? Also how do I get the api key need to gett logs from kafka to graphana?
Ppeauts8/23/2023
14b01195-935a-4860-b52d-4fcb301d2a14
I when I try to hit the domain for the service with a port number I get these errors
{"level":"ERROR","timestamp":"2023-08-23T15:23:18.425Z","logger":"kafkajs","message":"[BrokerPool] Failed to connect to seed broker, trying another broker from the list: Connection timeout","retryCount":2,"retryTime":1150}
am I doing something wrong? is my broker not "kafka-production.up.railway.app:29092"
How do I set this up so that It can get external messages?
Looking it up it seems Like I need to play around with the env variables
https://www.confluent.io/blog/kafka-listeners-explained/
but when I add something like EXTERNAL:kafka-production.up.railway.app:29092 kafka crashes bc it can't bind to that
@Brody
Ppeauts8/23/2023
Oh wow I didn’t know they did kafka too!
Thank you!

Looking for more? Join the community!

Recommended Posts
Cannot login to Railway.app this morningHere's what I'm doing to login: I go to railway.app, and select Login enter my email address and preRelative path issueI am trying to read some Json files and parse them with one of my services. Locally it works fine. Can't run Railway CLI down command with project tokenhey , it is possible to run the railway down command with railway project token without logging in. Ruby on Rails Deployment with database and redisi had a few questions about linking my database and redis server within railway app ... I tried but Lost all my 20$ credits out of no whereSo i just got an email saying my projects needs 3$ in credits, but suddenly when i check? my whole 2any reason why my usage suddenly jumps to 4GB when there are no tasks running?The app had no requests for for the entire day but the usage jumped, any reason why this could happei want to dowload my post gre db locallyhow can i dowload my post-gre db locallyCloudflare custom domain not workingI just upgraded the api for Cloudflare, but the custom domain is no longer workingError: Unsupported Gradle version: 8============== Using Nixpacks ============== context: 78ee202a04734b630f61d71bea3f81cd  NixpacksOSError: libheif.so.1: cannot open shared object file: No such file or directoryHello, I have tried everything i can to get my django project deployed, the build completes, but depFlask app not workinghey there am very new to railway, i would love to get some help, I am not familiar with hosting a weAverage Cost of Ghost CMS Blog?Hi so I've recently moved over to Railway.app, after hearing great things about it and getting boggewebhook outdated docs and issuesHello First of, https://docs.railway.app/diagnose/webhooks this documentation seems outdated. I'm Configure GitHub PATHow do I configure my GitHub PAT (Personal Access token) while deploying my nestJS app on railway?How can I SSH into my CLI application?Hello, I have an CLI python app deployed but I need to connect to the service. I couldnt find how. IPostgres pricing questionsI'm starting to index a few data to my railway postgres. I need to clarify a few questions: 1. WhaDashboard: View cost by service is brokenI think postgres should be a new row?Memory not released even after postgres table droppedHello. Project ID: 6dee0732-68aa-4ae0-a472-7d02880e238a I created a table on 19th August and then Can only view 100 lines of logsI can only see the last 100 lines fo the logs in log viewer I have opted in to "priority boarding"Unexpected crash - Rust crashes after building with libgssapi-krb5 referenceHey, first time posting an error - my Railway deployment is crashing with the following error: erro