Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
I need to send output of Tmap ( 5 fields) as a msg to a Kafka topic. But kafka topic takes only byte[] as input . How to convert this 5 fields first into an XML or JSON format and then into Byte array and send as a single msg to Kafka ?
Thanks . Yes this works fine but to convert again String to Byte[]) after twritejson to tkakafop using getBytes() method ,is there any alternative to using another tmap to convert . I just want to reduce the components for such simple conversions .
Also tmap is not getting connected after twritejson field . What is the logic behind which talend decides which component is allowed to connect another component