I am working on my first custom component which is a reader and writer for Apache Kafka. Things are going okay so far but I am looking for documentation on the meaning of the options on properties of ETLComponent. There is the DTD the “Integrating a Custom Component in CloverETL Designer” but I can’t find for the life of me the definitions of all the attributes on simpleType for example. What does keyType mean? And it seems like “name” has expected values ( e.g. int ) but in the Dedup example “key” is used. What does “key” mean in this context?
the main attribute of component property type is the type name, which you correctly identified (e.g. name=“int”). Additionally various types can be configured in more detail, and the configuration is specific for the type. So for example - in case of “key” type, the property contains definition of key (e.g. join key, sort key etc). Then the inputPortName=“0” attribute specifies that the key will be defined on fields of the first input port. We support different kinds of keys (join key, sort key etc), so these can be selected via the “keyType” attribute.
Currently we unfortunately don’t provide public documentation of all of the above. We provide additional documentation in our OEM partnership program, so feel free to contact us (sales@cloveretl.com).
Alternatively, if you could describe the requirements of you component here, then we’ll try to help you with the ETLComponent element.