Skip to content

Commit

Permalink
change publisher to streampublisher in DumpTool
Browse files Browse the repository at this point in the history
update Readme
  • Loading branch information
kosyloa committed Nov 2, 2023
1 parent dcc1dcf commit 872715d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion Samples/PerfTestCL/DumpTool.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 872715d

Please sign in to comment.