本文介绍了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?

推荐答案

请参考使用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编程的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-24 03:43