Skip to content

Additional Annotations for Kafka Trigger and Output Binding #200

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Sep 21, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -190,4 +190,46 @@
* @return The ssl key password.
*/
String sslKeyPassword() default "";

/**
* linger.MS property provides the time between batches of messages
* being sent to cluster. Larger value allows more batching that
* results in high throughput.
*
* @return value of linger.ms property.
*/
int lingerMs() default 5;

/**
* Avro schema for generic record serialization
* default ""
*
* @return the avro schema
*/
String avroSchema() default "";

/**
* URL for the Avro Schema Registry
* default ""
*
* @return the avro schema registry url
*/
String schemaRegistryUrl() default "";

/**
* Username for the Avro Schema Registry
* default ""
*
* @return the avro schema registry username
*/
String schemaRegistryUsername() default "";

/**
* Password for the Avro Schema Registry
* default ""
*
* @return the avro schema registry password
*/
String schemaRegistryPassword() default "";

}
Original file line number Diff line number Diff line change
Expand Up @@ -181,4 +181,35 @@
* @return the avro schema
*/
String avroSchema() default "";

/***
*
* @return
*/
int lagThreshold() default 1000;

/**
* URL for the Avro Schema Registry
* default ""
*
* @return the avro schema registry url
*/
String schemaRegistryUrl() default "";

/**
* Username for the Avro Schema Registry
* default ""
*
* @return the avro schema registry username
*/
String schemaRegistryUsername() default "";

/**
* Password for the Avro Schema Registry
* default ""
*
* @return the avro schema registry password
*/
String schemaRegistryPassword() default "";

}