diff --git a/web-console/assets/azure-event-hubs.png b/web-console/assets/azure-event-hubs.png new file mode 100644 index 00000000000..95b761fbb9b Binary files /dev/null and b/web-console/assets/azure-event-hubs.png differ diff --git a/web-console/src/utils/ingestion-spec.tsx b/web-console/src/utils/ingestion-spec.tsx index d6ec9451f71..530c269c96f 100644 --- a/web-console/src/utils/ingestion-spec.tsx +++ b/web-console/src/utils/ingestion-spec.tsx @@ -70,7 +70,12 @@ export type IngestionComboType = | 'index_parallel:hdfs'; // Some extra values that can be selected in the initial screen -export type IngestionComboTypeWithExtra = IngestionComboType | 'hadoop' | 'example' | 'other'; +export type IngestionComboTypeWithExtra = + | IngestionComboType + | 'azure-event-hubs' + | 'hadoop' + | 'example' + | 'other'; export function adjustIngestionSpec(spec: IngestionSpec) { const tuningConfig = deepGet(spec, 'spec.tuningConfig'); @@ -153,6 +158,9 @@ export function getIngestionTitle(ingestionType: IngestionComboTypeWithExtra): s case 'hadoop': return 'HDFS'; + case 'azure-event-hubs': + return 'Azure Event Hub'; + case 'example': return 'Example data'; diff --git a/web-console/src/views/load-data-view/load-data-view.tsx b/web-console/src/views/load-data-view/load-data-view.tsx index be13c22dfbf..c65b83e53ff 100644 --- a/web-console/src/views/load-data-view/load-data-view.tsx +++ b/web-console/src/views/load-data-view/load-data-view.tsx @@ -706,6 +706,7 @@ export class LoadDataView extends React.PureComponent {this.renderIngestionCard('kafka')} {this.renderIngestionCard('kinesis')} + {this.renderIngestionCard('azure-event-hubs')} {this.renderIngestionCard('index_parallel:s3')} {this.renderIngestionCard('index_parallel:azure')} {this.renderIngestionCard('index_parallel:google')} @@ -800,6 +801,24 @@ export class LoadDataView extends React.PureComponentLoad streaming data in real-time from Amazon Kinesis.

; + case 'azure-event-hubs': + return ( + <> +

Azure Event Hubs provides an Apache Kafka compatible API for consuming data.

+

+ Data from an Event Hub can be streamed into Druid by enabling the Kafka API on the + Namespace. +

+

+ Please see the{' '} + + Event Hub documentation + {' '} + for more information. +

+ + ); + case 'example': if (exampleManifests && exampleManifests.length) { return; // Yield to example picker controls @@ -855,6 +874,45 @@ export class LoadDataView extends React.PureComponent ); + case 'azure-event-hubs': + return ( + <> + + + Please review and fill in the consumerProperties on the next step. + + + +