Skip Ribbon Commands
Skip to main content
Navigate Up
Sign In

Quick Launch

Average Rating:

facebook Twitter
Print Bookmark Alert me when this article is updated


HOW TO: Convert binary encoded Kafka data into string format using Informatica PowerCenter
To convert binary encoded data to string, use Java transformation in the mapping with the following code:

Define the following in helper code:
String data_str;
byte[] actualByte;
In the input row, write the following code:
data_str= null;
data_str= new String(data);
actualByte= Base64.getDecoder().decode(data_str);
data_dec= new String(actualByte);
Here, data (binary datatype) is input port and data_dec (String datatype) is output port.
More Information
Applies To
Product: PowerExchange; PowerCenter
Problem Type: Configuration
User Type: Developer
Project Phase: Implement
Product Version:
Operating System:
Other Software:
Last Modified Date:7/7/2020 12:46 PMID:619629
People who viewed this also viewed


Did this KB document help you?

What can we do to improve this information (2000 or fewer characters)