func (s *GroupRegistratorSuite) SetUpSuite(c *C) { testhelpers.InitLogging(c) s.cid = sarama.RootCID.NewChild("gr-test") var err error s.kazooConn, err = kazoo.NewKazoo(testhelpers.ZookeeperPeers, kazoo.NewConfig()) c.Assert(err, IsNil) }
func (s *AdminSuite) SetUpSuite(c *C) { testhelpers.InitLogging(c) s.cfg = config.Default() s.cfg.ClientID = "producer" s.cfg.Kafka.SeedPeers = testhelpers.KafkaPeers s.cfg.ZooKeeper.SeedPeers = testhelpers.ZookeeperPeers s.kh = testhelpers.NewKafkaHelper(c) }
func (s *SmartConsumerSuite) SetUpSuite(c *C) { testhelpers.InitLogging(c) s.kh = testhelpers.NewKafkaHelper(c) }
func (s *ProducerSuite) SetUpSuite(c *C) { testhelpers.InitLogging(c) }
func (s *TopicConsumerGearSuite) SetUpSuite(c *C) { testhelpers.InitLogging(c) }
func (s *ServiceSuite) SetUpSuite(c *C) { testhelpers.InitLogging(c) }