{"repo":"jcustenborder/connect-utils","free":true,"listed":false,"github":"https://github.com/jcustenborder/connect-utils","clone":"git clone https://github.com/jcustenborder/connect-utils.git","description":"Utility project for working with Kafka Connect.","language":"Java","stars":37,"topics":["kafka-connect","kafka","conversion","parsing","schema"],"license":"Apache-2.0","category":"data-pipelines","readme_excerpt":"Overview The purpose of this library is to aid with conversions from strings to the proper Kafka Connect data types. Hopefully this library can be usedful in reducing the amount of mind numbing string parsing code. Type Parsing This section of code will help with conversions from strings to the proper Kafka Connect data types. Hopefully this library can be useful in reducing the amount of mind numbing string parsing code used transform Strings to Integers. The current code supports nullable schemas. An exception will be thrown if a null is passed with a schema that is not optional. Convert to a schema type Nulls are supported too Schemas without optional set do not support nulls If you pass in a null to a schema that is not optional, you're going to have a bad time. Register your own type converter or an alternate date format Templating of Kafka Connect types. There are several cases where you will want to route data to a different topic based on a field in your data. StructTemplate is available to assist you with this. It uses FreeMarker under the covers to allow you to apply templates to Connect Stucts. For example: You can combine static strings with variables to do something like database.${stringField} which would yield database.TestValue using the example above.","default_branch":null,"files":null,"tree":[],"storefront":"/r/jcustenborder","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/jcustenborder/connect-utils/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}