Github user rban1 commented on a diff in the pull request: https://github.com/apache/storm/pull/1985#discussion_r104561334 --- Diff: external/storm-eventhubs/src/main/java/org/apache/storm/eventhubs/spout/EventHubReceiverImpl.java --- @@ -65,77 +60,80 @@ public EventHubReceiverImpl(EventHubSpoutConfig config, String partitionId) { } @Override - public void open(IEventHubFilter filter) throws EventHubException { - logger.info("creating eventhub receiver: partitionId=" + partitionId + - ", filterString=" + filter.getFilterString()); + public void open(String offset) throws EventHubException { + logger.info("creating eventhub receiver: partitionId=" + partitionId + + ", offset=" + offset); long start = System.currentTimeMillis(); - receiver = new ResilientEventHubReceiver(connectionString, entityName, - partitionId, consumerGroupName, defaultCredits, filter); - receiver.initialize(); - + try { + ehClient = EventHubClient.createFromConnectionStringSync(connectionString); + receiver = ehClient.createEpochReceiverSync( + consumerGroupName, + partitionId, + offset, + false, + 1); --- End diff -- Will do
--- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---