Open tygrash opened 6 years ago
@tygrash
Can you attach your config file here ?
I am facing the exact same issue. To test start the app, I used the default config/burrow.toml. Any advice would be helpful. $go version go version go1.10.1 linux/amd64
Followed the steps with latest README.
I fixed the above issue by following https://dzone.com/articles/kafka-monitoring-with-burrow. However when I use curl http://localhost:8080/v3/kafka
OR curl http://ip:8080/v3/kafka/mykafka
, I don't get any response. Any advice is much appreciated!
You should try curl http://localhost:8080/v3/kafka/{myclustername}
instead. Mention the name you gave in configs for your kafka cluster
If you are not getting any response, try opening the API in browser once. Send your config file and stacktrace of your logs if it doesn't work.
mykafka
is my clustername as mentioned above. PFB.
[general]
pidfile="burrow.pid"
stdout-logfile="burrow.out"
access-control-allow-origin="*"
[logging]
filename="logs/burrow.log"
level="info"
maxsize=100
maxbackups=30
maxage=10
use-localtime=false
use-compression=true
[zookeeper]
servers=[ "zk1-dns-address:2181", "zk2-dns-address:2181", "zk3-dns-address:2181" ]
timeout=30
root-path="/burrow"
[client-profile.test]
client-id="burrow-test"
kafka-version="0.10.1"
[cluster.mykafka]
class-name="kafka"
servers=[ "broker1-dns-address:9092", "broker2-dns-address:9092", "broker3-dns-address:9092" ]
client-profile="test"
topic-refresh=120
offset-refresh=30
[consumer.myconsumer]
class-name="kafka"
cluster="mykafka"
servers=[ "broker1-dns-address:9092", "broker2-dns-address:9092", "broker3-dns-address:9092" ]
client-profile="test"
group-blacklist="^(console-consumer-|python-kafka-consumer-|quick-).*$"
group-whitelist=""
[httpserver.mylistener]
address=":8080"
[storage.mystorage]
class-name="inmemory"
workers=20
intervals=15
expire-group=604800
min-distance=1
The command curl http://burrow-node:8000/v3/kafka/mykafka
does not return any response.
My config is
[general]
pidfile="burrow.pid"
stdout-logfile="/root/GoDemo/logs/burrow.out"
access-control-allow-origin="*"
[logging]
filename="/root/GoDemo/logs/burrow.log"
level="debug"
maxsize=100
maxbackups=30
maxage=10
use-localtime=false
use-compression=true
[zookeeper]
servers=[ "node-1:2181", "node-2:2181", "node-3:2181" ]
timeout=1
root-path="/burrow"
[client-profile.test]
client-id="burrow-test"
kafka-version="0.10.1"
[cluster.mykafka]
class-name="kafka"
servers=[ "node-1:9092", "node-2:9092", "node-3:9092" ]
client-profile="test"
topic-refresh=2
offset-refresh=1
[consumer.myconsumer]
class-name="kafka"
cluster="mykafka"
servers=[ "node-1:9092", "node-2:9092", "node-3:9092" ]
client-profile="test"
group-blacklist="^(console-consumer-|python-kafka-consumer-|quick-).*$"
group-whitelist=""
[httpserver.default]
address=":8000"
[storage.default]
class-name="inmemory"
workers=20
intervals=15
expire-group=604800
min-distance=1
[notifier.default]
class-name="http"
url-open="http://someservice.example.com:1467/v1/event"
url-close="http://someservice.example.com:1467/v1/event"
interval=60
timeout=5
keepalive=30
extras={ api_key="REDACTED", app="burrow", tier="STG", fabric="mydc" }
template-open="/root/GoDemo/src/github.com/linkedin/Burrow/config/default-http-post.tmpl"
template-close="/root/GoDemo/src/github.com/linkedin/Burrow/config/default-http-delete.tmpl"
method-close="DELETE"
send-close=true
threshold=1
Using the debug
threshold, I can see it can connect to the destination cluster... but when I issue the command curl http://burrow-node:8000/v3/kafka/mykafka
it doesn't respond... Same with browser as well. The Security Groups on the port 8000 are open for TCP
. When I create a console consumer on the cluster it doesn't really show up on the logs when tail
-ed...
What am I missing please??
@toddpalino Can you please shed some light on this? I tried downloading the v1.1.0
as well, but no change in result.
I was using CTRL+Z
to run the job in the background, which was somehow stalling the httpserver.
The server was up as seen by using netstat -nlp
but it never responded.
The same can be achieved using nohup ... &
.
Burrow setup worked.
hi, panic: Failed to compile TemplateOpen [recovered] panic: Failed to compile TemplateOpen [recovered] panic: Failed to compile TemplateOpen problem solved ?
I have a similar problem, do you have any advice?
{"level":"panic","ts":1605888928.1730287,"msg":"Please change configurations to allowlist and denylist","type":"module","coordinator":"consumer","class":"kafka","name":"monet"} ││ {"level":"panic","ts":1605888928.1730556,"msg":"Please change configurations to allowlist and denylist"} ││ panic: Please change configurations to allowlist and denylist [recovered] ││ panic: Please change configurations to allowlist and denylist [recovered] ││ panic: Please change configurations to allowlist and denylist
I have a similar problem, do you have any advice?
{"level":"panic","ts":1605888928.1730287,"msg":"Please change configurations to allowlist and denylist","type":"module","coordinator":"consumer","class":"kafka","name":"monet"} ││ {"level":"panic","ts":1605888928.1730556,"msg":"Please change configurations to allowlist and denylist"} ││ panic: Please change configurations to allowlist and denylist [recovered] ││ panic: Please change configurations to allowlist and denylist [recovered] ││ panic: Please change configurations to allowlist and denylist
Change blacklist to denylist and whitelist to allowlist in the configuration file. It will work.
hi, panic: Failed to compile TemplateOpen [recovered] panic: Failed to compile TemplateOpen [recovered] panic: Failed to compile TemplateOpen problem solved ?
It can be solved via adding correct path of template-open and template-close in burrow.toml
[notifier.default]
class-name="http"
url-open="http://someservice.example.com:1467/v1/event"
url-close="http://someservice.example.com:1467/v1/event"
interval=60
timeout=5
keepalive=30
extras={ api_key="REDACTED", app="burrow", tier="STG", fabric="mydc" }
template-open="/root/Burrow/config/default-http-post.tmpl"
template-close="/root/Burrow/config/default-http-delete.tmpl"
method-close="DELETE"
send-close=false
threshold=1
I'm trying to setup burrow and I'v followed each step mentioned in the documentation, but when I try to launch the service, it fails silently after line
Reading configuration from config/
.When I checked the directory structure, I found that every time a new log file gets created and content inside each is
Need help with the issue, as I'm not fluent in Golang.