ADLS Gen1和EventHubs Java编程 [英] ADLS Gen1 and EventHubs java programming

查看:82
本文介绍了ADLS Gen1和EventHubs Java编程的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

以前,在开发Blob存储时,我们能够使用EventProcessorHost中的EventHub连接字符串来访问存储.但是,对于第1代ADLS,似乎没有这样的字符串, 而且我在查找任何允许我们连接到ADLS的类时遇到了麻烦.身份验证系统似乎完全不同.如何使用EventHostProcessor.java连接到ADLS Gen 1存储,或者这是错误的处理方法?

Previously, when developing for blob storage, we were able to use the EventHub connection string in EventProcessorHost to access the storage. However, with ADLS Gen 1, there doesn't seem to be such a string, and I'm having trouble finding any classes that allows us to connect to ADLS. The authentication system seems to be completely different. How can I connect to the ADLS Gen 1 storage using the EventHostProcessor.java or is this the wrong way to go about it?

推荐答案

您可以按照文档进行操作, 使用Java 从Azure事件中心接收事件,该事件具有生成连接字符串的详细步骤.

You can follow the documentation to Receive events from Azure Event Hubs using Java which has the detailed steps to generate a connection string.

请参考 使用Azure Data Lake Storage Gen1从事件中心捕获数据以获取更多详细信息.

Refer Use Azure Data Lake Storage Gen1 to capture data from Event Hubs for more details.


这篇关于ADLS Gen1和EventHubs Java编程的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆