Error while deploying secor on Kubernetes

66 views
Skip to first unread message

Sanath Krishna

unread,
Aug 30, 2021, 8:02:16 PM8/30/21
to secor-users
Hello,

I am trying to deploy secor to fetch messages from kafka producer and push it to an S3 bucket on AWS cloud. But I am running into a few errors.

1. The docker image "us.gcr.io/secor-demo/" isn't available or might have been taken  down. 
secor1.png
2. To go around this error and have a working docker image, I tried to build my own docker image on the "Dockerfile" present in the secor repository. But while building the docker file, I ran into an error at the ADD command mentioned in the docker file.
secor2.png

3. When I tried debugging the error mentioned in step 2, I understood that I need to install secor on my local machine, by running the mvn package command. When I tried running that, I came across another error concerning the pom.xml. It mentions that the dependencies could not be resolved. 
MicrosoftTeams-image (4).png

It'd be really helpful and I'd appreciate it if someone can help me with these blockages as soon as possible.

Regards,
Sanath.

hc...@pinterest.com

unread,
Aug 31, 2021, 2:22:00 PM8/31/21
to secor-users
I just tried 'mvn clean package' build, looks like fine.

Sanath Krishna

unread,
Sep 8, 2021, 3:04:18 PM9/8/21
to secor-users
There was an issue with my organization's network and hence I was getting that error.
Now it says the maven build is successful.
But I am trying to run secor by creating a new folder for binaries and all the mentioned steps, but I am getting an error which says the topic does not exist.
Can someone help me out with this.
I am posting the image of the error for your reference.

secor3.png 
P.S :- I have created the topic and there are messages in that topic. Also the zookeeper and kafka broker service are running in another terminal.

Henry Cai

unread,
Sep 8, 2021, 4:13:14 PM9/8/21
to Sanath Krishna, secor-users
The is just a warning since secor hasn't been run before.  Do you see data file generated by secor while you adding new records into kafka?

--
You received this message because you are subscribed to a topic in the Google Groups "secor-users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/secor-users/YtlEi7M1zFI/unsubscribe.
To unsubscribe from this group and all its topics, send an email to secor-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/secor-users/37c269ef-8183-4b4a-ae4d-52ce2bf40c19n%40googlegroups.com.

Sanath Krishna

unread,
Sep 8, 2021, 4:15:23 PM9/8/21
to secor-users
You mean the log file?

Sanath Krishna

unread,
Sep 8, 2021, 4:20:09 PM9/8/21
to secor-users
I also don't see any data being pushed into the s3 bucket that I have created.
If it is just a warning, it must at least create a folder or something in the s3 bucket.

Henry Cai

unread,
Sep 8, 2021, 8:39:30 PM9/8/21
to Sanath Krishna, secor-users
If you generate some new data into kafka, do you see any data generated by secor?  If not, you can change the logging category in log4j to INFO or DEBUG to see what was happening.

Sanath Krishna

unread,
Sep 9, 2021, 6:24:13 PM9/9/21
to secor-users
I tried changing the logging category to go through the logs. This is what I came across:
secor4.png

I went through the logs all over and I could see it was connecting to the topic. But wasn't reading the messages from the topic and sending it to the S3. 
Also I couldn't find a new folder being created when I pushed data into kafka. 
I am expecting a file to be created in the following path: /tmp/secor_dev/message_logs/partition
secor5.png

PS :- I am seeing the message INFO: Starting LatchedStatsListener as soon as I run the secor command.
Reply all
Reply to author
Forward
0 new messages