-
-
Notifications
You must be signed in to change notification settings - Fork 154
Closed
Description
hcl config:
kafka {
replication-factor = 3
}
struct to set
type KafkaConfig struct {
BootstrapServer string `help:"The advertised address and port of the kafka brokers" default:"localhost:9093"`
ReplicationFactor int16 `help:"The replication factor for topics" default:"1"`
}
panic: mapper kong.MapperFunc failed to apply to --kafka-replication-factor=1: reflect.Set: value of type int is not assignable to type int16 [recovered]
happens at
Line 340 in 51a1ea9
target.Set(reflect.ValueOf(v)) |
Metadata
Metadata
Assignees
Labels
No labels