The user can create the Kafka destination connector with an invalid value "-1"
Opened this issue · 2 comments
uchennakevinm1 commented
The user can create the Kafka destination connector with an invalid value "-1" for the number of acknowledgments required before considering a record written to Kafka ( "acks": "-1" )
Expected result: Error: "message": "failed to create connector: could not init connector: invalid destination config: config is invalid: couldn't parse ack: unknown ack mode: required acks must be one of none, one, or all, not "-1""
Valid values: none, one, all.
uchennakevinm1 commented
@hariso need to check documentation because -1 is a valid value