export const MESSAGE_BROKER = 'messageBroker';
export const MESSAGE_BROKER_KAFKA = 'kafka';
export const MESSAGE_BROKER_PULSAR = 'pulsar';
export const MESSAGE_BROKER_NO = 'no';
const ALPHANUMERIC_PATTERN = /^[A-Za-z][A-Za-z0-9]*$/;
const optionDefinition = {
    name: MESSAGE_BROKER,
    type: 'string',
    tokenType: 'NAME',
    tokenValuePattern: ALPHANUMERIC_PATTERN,
    knownChoices: [MESSAGE_BROKER_NO, MESSAGE_BROKER_KAFKA, MESSAGE_BROKER_PULSAR],
};
export default optionDefinition;
