IRISLIB database
KafkaMessage Class Reference

Kafka message. More...

Inheritance diagram for KafkaMessage:
Collaboration diagram for KafkaMessage:

Public Member Functions

def __init__ (self)
 Kafka message.
 
- Public Member Functions inherited from Message
_.Library.Status FromJSON (_.Library.String json)
 Set up message object from JSON string.
 
_.Library.Status FromRemoteObject (_.Net.Remote.Object o)
 Set up message object from remote gateway object.
 
_.Library.String ToJSON ()
 Convert message object to JSON String.
 
- Public Member Functions inherited from RegisteredObject
_.Library.Status OnAddToSaveSet (_.Library.Integer depth, _.Library.Integer insert, _.Library.Integer callcount)
 This callback method is invoked when the current object is added to the SaveSet,. More...
 
_.Library.Status OnClose ()
 This callback method is invoked by the <METHOD>Close</METHOD> method to. More...
 
_.Library.Status OnConstructClone (_.Library.RegisteredObject object, _.Library.Boolean deep, _.Library.String cloned)
 This callback method is invoked by the <METHOD>ConstructClone</METHOD> method to. More...
 
_.Library.Status OnNew ()
 This callback method is invoked by the <METHOD>New</METHOD> method to. More...
 
_.Library.Status OnValidateObject ()
 This callback method is invoked by the <METHOD>ValidateObject</METHOD> method to. More...
 

Public Attributes

 binaryValue
 Binary message value. More...
 
 key
 Optional message value key. More...
 
 topic
 Message topic. More...
 
 value
 Message value as string. More...
 

Additional Inherited Members

- Static Public Attributes inherited from RegisteredObject
 CAPTION = None
 Optional name used by the Form Wizard for a class when generating forms. More...
 
 JAVATYPE = None
 The Java type to be used when exported.
 
 PROPERTYVALIDATION = None
 This parameter controls the default validation behavior for the object. More...
 
- Static Public Attributes inherited from Adaptor
 JSONENABLED
 If this parameter is true then JSON-enabling methods will be generated. More...
 
 JSONIGNOREINVALIDFIELD
 The JSONIGNOREINVALIDFIELD parameter allows the programmer to control handling of unexpected fields in the JSON input. More...
 
 JSONIGNORENULL
 JSONIGNORENULL allows the programmer to override the default handling of empty strings for string properties. More...
 
 JSONNULL
 If JSONNULL is true (=1), then unspecified properties are exported as the null value. More...
 
 JSONREFERENCE
 JSONREFERENCE specifies the default value of the JSONREFERENCE property parameter that specifies how to More...
 

Detailed Description

Kafka message.

Member Data Documentation

◆ binaryValue

binaryValue

Binary message value.

Do not set property "value" when binaryValue is used  

◆ key

key

Optional message value key.

 

◆ topic

topic

Message topic.

 

◆ value

value

Message value as string.

If the value exceeds maximum length of IRIS string, encode/decode the string from binaryValue using UTF8.