Partner CDI inputs
A partner CDI input is a specific configuration of a CDI input. You must set up two CDI inputs as partners if you want to support automatic input failover for a CDI source. The two inputs always work together, as the two inputs in an automatic failover pair. The two inputs can be used only together, as a failover pair.
Topics
Regular inputs versus partner inputs
When you create a CDI input, you must decide whether you need to create a regular CDI input or a set of partner CDI inputs. This decision depends on how you want to implement pipeline redundancy and automatic input failover.
The following table describes the type of input to create depending on the workflow.
Channel is set up for pipeline redundancy | You want to set up this input for automatic input failover | Type of inputs to create |
---|---|---|
No (single-pipeline channel) | No | One regular CDI input. |
Yes | One set of partner CDI inputs—two CDI inputs set up as partners. | |
Yes (standard channel) | No | One regular CDI input. |
Yes |
Two sets of partner inputs:
|
Rules for using partner CDI inputs
These rules apply to partner inputs:
-
Automatic failover – You can only use the partner inputs as a failover pair.
-
Input switching – You can't use the partner inputs in an input switching workflow, where sometimes you switch to one partner and at other times you switch to the other partner.
-
Single channel – You can use the partner inputs only in one channel. You can't attach one partner to one channel, and the other partner to a different channel.
Creating the set of partner inputs
To create the partner inputs, you must follow a special procedure. See Creating a partner CDI push input in Amazon VPC.
Editing the set of partner inputs
You can edit the inputs in the same way as you update regular CDI inputs. See Editing an input.
Deleting partner inputs
The two inputs have equal standing. The first input that you create when you follow the special procedure isn't the owner input or principal input. Therefore, these rules apply when you delete a partner input:
-
You can delete one input without deleting the other.
If you do so, the remaining input simply becomes a regular CDI input. If you delete the first input, the name of the second input doesn't automatically change. For example, if the input had the name myInput - partner, it will still have the name myInput - partner, even though it is no longer a partner CDI input. You can edit the input to change the name.
-
You can delete the second input, then create the partner input again, from the first input. The IP addresses of the new input will be assigned the port 5001.
-
You can delete the first input, then create the partner input again, from the second input. The IP addresses of the new input will be assigned the port 5000.
If you didn't change the name of the second input (the default has the suffix, for example, myInput - partner), then the new input has the name myInput - partner - partner. You can edit the input to change the name.