class documentation
        
        class Context(object): (source)
Interface defining information available at process time
| Method | ack | ack this message id | 
| Method | del | delete the counter of a given key in the managed state | 
| Method | get | get the counter of a given key in the managed state | 
| Method | get | Returns the topic name of the message that we are processing | 
| Method | get | Returns the function id that we are a part of | 
| Method | get | Returns the function name that we are a part of | 
| Method | get | Returns the namespace of the message that's being processed | 
| Method | get | Returns the tenant of the message that's being processed | 
| Method | get | Returns the version of function that we are executing | 
| Method | get | Returns the input topics of function | 
| Method | get | Returns the instance id that is executing the function | 
| Method | get | Returns the logger object that can be used to do logging | 
| Method | get | Return the event time of the current message that we are processing | 
| Method | get | Return the messageid of the current message that we are processing | 
| Method | get | Return the key of the current message that we are processing | 
| Method | get | Return the message properties kv map of the current message that we are processing | 
| Method | get | return output Serde class | 
| Method | get | Returns the output topic of function | 
| Method | get | Returns partition key of the input message is one exists | 
| Method | get | Returns the secret value associated with the name. None if nothing was found | 
| Method | get | get the value of a given key in the managed state | 
| Method | get | Returns the entire user-defined config as a dict (the dict will be empty if no user-defined config is supplied) | 
| Method | get | Returns the value of the user-defined config. If the key doesn't exist, None is returned | 
| Method | incr | incr the counter of a given key in the managed state | 
| Method | publish | Publishes message to topic_name by first serializing the message using serde_class_name serde The message will have properties specified if any | 
| Method | put | update the value of a given key in the managed state | 
| Method | record | Records the metric_value. metric_value has to satisfy isinstance(metric_value, numbers.Number) | 
Returns the entire user-defined config as a dict (the dict will be empty if no user-defined config is supplied)
    @abstractmethod
def publish(self, topic_name, message, serde_class_name='serde.IdentitySerDe', properties=None, compression_type=None, callback=None, message_conf=None): (source) ¶
  def publish(self, topic_name, message, serde_class_name='serde.IdentitySerDe', properties=None, compression_type=None, callback=None, message_conf=None): (source) ¶
Publishes message to topic_name by first serializing the message using serde_class_name serde The message will have properties specified if any
The available options for message_conf:
properties, partition_key, sequence_id, replication_clusters, disable_replication, event_timestamp