skroutz / rafka

Kafka proxy with a simple API, speaking the Redis protocol
https://engineering.skroutz.gr/blog/kafka-rails-integration/
GNU General Public License v3.0
8 stars 0 forks source link

Test binary can't run with custom flags #41

Open agis opened 7 years ago

agis commented 7 years ago
agis:rafka [master] $ go test -args -kafka kafka.json.sample
[rafka] 2017/08/25 17:59:54 Spawning Consumer Manager (librdkafka 0.11.0) | config: {0.0.0.0 6382 {map[session.timeout.ms:6000 log.connection.close:false api.version.request:true bootstrap.servers:kafka-1.example.com,kafka-2.example.com] map[enable.auto.commit:false bootstrap.servers:kafka-1.example.com,kafka-2.example.com session.timeout.ms:6000 go.events.channel.enable:false go.application.rebalance.enable:false api.version.request:true log.connection.close:false auto.offset.reset:latest enable.partition.eof:false] map[go.delivery.reports:true api.version.request:true bootstrap.servers:kafka-1.example.com,kafka-2.example.com session.timeout.ms:6000 log.connection.close:false go.produce.channel.size:0]} 10ns}...
[server] 2017/08/25 17:59:54 Listening on 0.0.0.0:6382
flag provided but not defined: -kafka
Usage of /var/folders/sn/kg1yfzd92yqb0szm8wdg1wrh0000gp/T/go-build281756788/github.com/skroutz/rafka/_test/rafka.test:
  -test.bench regexp
        run only benchmarks matching regexp
  -test.benchmem
        print memory allocations for benchmarks
# ...