public class KafkaHandler extends BaseRouterHandler
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
BOOTSTRAPSERVERS |
static java.lang.String |
KERBEROS_SERVICE |
static java.lang.String |
KEYTABFILE |
static java.lang.String |
KEYTABPRINCIPAL |
static java.lang.String |
SASL_MECHANISM |
static java.lang.String |
SECURITY_PROTOCOL |
static java.lang.String |
TOPIC |
endPointPropVals, epName, metaDataBIDICONFIG, PASSWORD, USERNAME| Constructor and Description |
|---|
KafkaHandler() |
KafkaHandler(MaxEndPointInfo endPointInfo) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getKerberosService()
The security protocol for accessing the destination.
|
java.lang.String |
getKeyTabFile()
The security protocol for accessing the destination.
|
java.lang.String |
getKeyTabPrincipal()
The security protocol for accessing the destination.
|
java.util.List |
getProperties() |
java.lang.String |
getSASLMechanism()
The security protocol for accessing the destination.
|
java.lang.String |
getSecurityProtocol()
The security protocol for accessing the destination.
|
java.lang.String |
getTopic()
looks for CON_FACTORY_JNDI_NAME from the Map and returns the Queue Connection Factory JNDI Name from the map.
|
java.lang.String |
getUsername()
The username for accessing the destination.
|
byte[] |
invoke(java.util.Map metaData,
byte[] data)
Sends / Writes data to a given Queue.
|
getBooleanPropertyValue, getBooleanPropertyValue, getDatePropertyValue, getDoublePropertyValue, getIntPropertyValue, getLongPropertyValue, getOverrideValue, getPropertyValue, isOverridden, isPropertyOverridablepublic static final java.lang.String BOOTSTRAPSERVERS
public static final java.lang.String TOPIC
public static final java.lang.String SECURITY_PROTOCOL
public static final java.lang.String SASL_MECHANISM
public static final java.lang.String KERBEROS_SERVICE
public static final java.lang.String KEYTABFILE
public static final java.lang.String KEYTABPRINCIPAL
public KafkaHandler(MaxEndPointInfo endPointInfo)
public KafkaHandler()
public byte[] invoke(java.util.Map metaData,
byte[] data)
throws MXException
invoke in interface RouterHandlerinvoke in class BaseRouterHandlerdestinationName - Name of the External SysteminterfaceName - interfaceName of this transaciondata - the xml transaction in byte arrayMXException - if there's a problem in writing data to queue.RouterHandler.invoke(java.util.Map, byte[])public java.util.List getProperties()
public java.lang.String getTopic()
public java.lang.String getSecurityProtocol()
public java.lang.String getSASLMechanism()
public java.lang.String getKerberosService()
public java.lang.String getKeyTabFile()
public java.lang.String getKeyTabPrincipal()
public java.lang.String getUsername()