From fd9d6459c5adc873074706c93362fb273cf074fb Mon Sep 17 00:00:00 2001 From: AKosylo Date: Thu, 2 Nov 2023 09:17:52 +0100 Subject: [PATCH] change publisher to streampublisher in DumpTool update Readme --- README.md | 6 +++--- Samples/PerfTestCL/DumpTool.swift | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 99d59f229..61adc49fb 100644 --- a/README.md +++ b/README.md @@ -149,15 +149,15 @@ Quote{AAPL, eventTime=0, time=20221219-223312.000, timeNanoPart=0, sequence=0, b - [x] [Publisher](https://docs.dxfeed.com/dxfeed/api/com/dxfeed/api/DXEndpoint.Role.html#PUBLISHER) connects to the remote publisher hub (also known as multiplexor) or creates a publisher on the local host -- [ ] [StreamPublisher](https://docs.dxfeed.com/dxfeed/api/com/dxfeed/api/DXEndpoint.Role.html#STREAM_PUBLISHER) +- [x] [StreamPublisher](https://docs.dxfeed.com/dxfeed/api/com/dxfeed/api/DXEndpoint.Role.html#STREAM_PUBLISHER) is similar to `Publisher` and also connects to the remote publisher hub, but is designed for bulk data publishing -- [ ] [LocalHub](https://docs.dxfeed.com/dxfeed/api/com/dxfeed/api/DXEndpoint.Role.html#LOCAL_HUB) +- [x] [LocalHub](https://docs.dxfeed.com/dxfeed/api/com/dxfeed/api/DXEndpoint.Role.html#LOCAL_HUB) is a local hub without the ability to establish network connections. Events published via `Publisher` are delivered to local `Feed` only -- [ ] [OnDemandFeed](https://docs.dxfeed.com/dxfeed/api/com/dxfeed/api/DXEndpoint.Role.html#ON_DEMAND_FEED) +- [x] [OnDemandFeed](https://docs.dxfeed.com/dxfeed/api/com/dxfeed/api/DXEndpoint.Role.html#ON_DEMAND_FEED) is similar to `Feed`, but it is designed to be used with [OnDemandService](https://docs.dxfeed.com/dxfeed/api/com/dxfeed/ondemand/OnDemandService.html) for historical data replay only diff --git a/Samples/PerfTestCL/DumpTool.swift b/Samples/PerfTestCL/DumpTool.swift index 102347d39..c4daca286 100644 --- a/Samples/PerfTestCL/DumpTool.swift +++ b/Samples/PerfTestCL/DumpTool.swift @@ -73,7 +73,7 @@ class DumpTool: ToolsCommand { if let tapeFile = arguments.tape { outputEndpoint = try DXEndpoint .builder() - .withRole(.publisher) + .withRole(.streamPublisher) .withProperty(DXEndpoint.Property.wildcardEnable.rawValue, "true") .withName("DumpTool") .build()