Namespace: OpenEdge.Messaging.Kafka
Type: Class KafkaSerializationContext
Parent Classes:
Inherits: Progress.Lang.Object
Implements: OpenEdge.Messaging.ISerializationContext


/*
Copyright © 2021 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved.
Purpose:
The serialization context supports fetching configuration for the kafka producer
or for a specific topic option.



Method Summary
  Options Name Purpose
  CHARACTER GetProducerOption (character)
  CHARACTER GetTopicOption (character)

Constructor Summary
  Options Name Purpose
  KafkaSerializationContext (IProducerRecord, KafkaProducer, logical)

Property Summary
  Options Name Purpose
  OpenEdge.Messaging.IHeaders Headers
  LOGICAL IsPartitionKey
  CHARACTER TopicName


Method Detail
Top

CHARACTER GetProducerOption (character)

Parameters:
name CHARACTER
 
Returns CHARACTER
 
Top

CHARACTER GetTopicOption (character)

Parameters:
name CHARACTER
 
Returns CHARACTER
 


Constructor Detail
Top

KafkaSerializationContext (IProducerRecord, KafkaProducer, logical)

Parameters:
producerRecord OpenEdge.Messaging.IProducerRecord
 
producer OpenEdge.Messaging.Kafka.KafkaProducer
 
isPartitionKey LOGICAL
 


Property Detail
Top

OpenEdge.Messaging.IHeaders Headers

Returns OpenEdge.Messaging.IHeaders
 
Top

LOGICAL IsPartitionKey

Returns LOGICAL
 
Top

CHARACTER TopicName

Returns CHARACTER