Package org.nuxeo.runtime.kafka
Class KafkaConfigDescriptor
java.lang.Object
org.nuxeo.runtime.kafka.KafkaConfigDescriptor
- All Implemented Interfaces:
Descriptor
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classstatic class -
Field Summary
FieldsModifier and TypeFieldDescriptionFields inherited from interface org.nuxeo.runtime.model.Descriptor
UNIQUE_DESCRIPTOR_ID -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncopy(Descriptor other) Returns the descriptor id to copy for the current descriptor.getId()The descriptor id, descriptors with same id are merged.protected PropertiesmergeProperties(Properties source, Properties update) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.nuxeo.runtime.model.Descriptor
doesRemove, merge
-
Field Details
-
name
-
topicPrefix
-
randomPrefix
-
copy
-
producerProperties
-
consumerProperties
-
adminProperties
-
-
Constructor Details
-
KafkaConfigDescriptor
public KafkaConfigDescriptor()
-
-
Method Details
-
getId
Description copied from interface:DescriptorThe descriptor id, descriptors with same id are merged.To forbid multiple descriptors use UNIQUE_DESCRIPTOR_ID.
To forbid merge use a unique value, non-overridden
toString()for example.- Specified by:
getIdin interfaceDescriptor
-
getCopyId
Description copied from interface:DescriptorReturns the descriptor id to copy for the current descriptor.The method returns null by default, this disables the copy mechanism.
- Specified by:
getCopyIdin interfaceDescriptor- Returns:
- the descriptor id to copy
- Since:
- 2025.18
-
copy
- Specified by:
copyin interfaceDescriptor- Parameters:
other- the descriptor to copy, its id is the one returned byDescriptor.getCopyId()of the current descriptor- Returns:
- a descriptor representing
othercopied intothis - Since:
- 2025.18
-
mergeProperties
-