Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions lib/ldclient-rb/data_system.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
require 'ldclient-rb/interfaces/data_system'
require 'ldclient-rb/config'
require 'ldclient-rb/impl/data_system/polling'
require 'ldclient-rb/impl/data_system/streaming'

module LaunchDarkly
#
Expand Down Expand Up @@ -132,9 +133,8 @@ def self.fdv1_fallback_ds_builder
# @return [Proc] A proc that takes (sdk_key, config) and returns a streaming data source
#
def self.streaming_ds_builder
# TODO(fdv2): Implement streaming data source builder
lambda do |_sdk_key, _config|
raise NotImplementedError, "Streaming data source not yet implemented for FDv2"
lambda do |sdk_key, config|
LaunchDarkly::Impl::DataSystem::StreamingDataSourceBuilder.new(sdk_key, config).build
end
end

Expand Down
Loading