code: func NewMain() *Main {
  	return &Main{
  		Hosts:       []string{"localhost:9092"},
  		Topic:       "test",
  		Group:       "group0",
  		RegistryURL: "localhost:8081",
  
  		Rate: time.Second * 1,
  	}
  }
docs: // NewMain returns a new Main.