azure event hub是否有任何api可用于通过java或类似于shell的amazon kinesis创建事件中心,如下所示
AmazonKinesis kinesis = AmazonKinesisClientBuilder.standard().build()
CreateStreamRequest createStreamRequest = new CreateStreamRequest();
createStreamRequest.setStreamName(stream);
createStreamRequest.setShardCount(shards);
kinesis.createStream(createStreamRequest);
1条答案
按热度按时间flvtvl501#
以下是用于事件中心的azure java管理库示例-https://github.com/azure-samples/eventhub-java-manage-event-hub
如果您希望通过sas密钥进行管理,那么您的选项是
cli、ps或.net库-https://github.com/azure/azure-event-hubs/tree/master/samples/management
休息-https://docs.microsoft.com/en-us/rest/api/eventhub/event-hubs-management-rest