From 872715d8ff839a67c5dc7efd217297e67a41a1dd 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 | 4 ++-- Samples/PerfTestCL/DumpTool.swift | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 99d59f229..a880c8bc6 100644 --- a/README.md +++ b/README.md @@ -149,11 +149,11 @@ 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 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()