Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update streaming.Rmd #103

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
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
2 changes: 1 addition & 1 deletion streaming.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ stream <- stream_read_text(sc, "source/") %>%
stream_write_text("destination/")
```

The<!--((("commands", "stream_write_*()")))--> streams starts running with `stream_write_*()`; once executed, the stream will monitor the _`source`_ path and process data into the _++destination /++_ path as it arrives.
The<!--((("commands", "stream_write_*()")))--> stream starts running with `stream_write_*()`; once executed, the stream will monitor the _`source`_ path and process data into the _++destination /++_ path as it arrives.

We can use `stream_generate_test()` to produce a file every second containing lines of text that follow a given distribution; you can read more about this in [Appendix](#appendix). In practice, you would connect to existing sources without having to generate data artificially. We can then use `view_stream()` to track the rows per second (rps) being processed in the source, and in the destination, and their latest values over time:

Expand Down