parser.accepts( "row_query_max_length", "truncates the 'query' field if it is above this length. default: false" )
.withOptionalArg().ofType(Boolean.class);
java.lang.ClassCastException: class java.lang.Boolean cannot be cast to class java.lang.Integer (java.lang.Boolean and java.lang.Integer are in module java.base of loader 'bootstrap')
Should be a number, but checks for Boolean
https://github.com/zendesk/maxwell/blob/master/src/main/java/com/zendesk/maxwell/MaxwellConfig.java#L780
as result:
-row_query_max_length=30