Skip to content
This repository was archived by the owner on Jan 14, 2025. It is now read-only.

Commit 3afc0bc

Browse files
authored
Merge pull request #93 from heitorlessa/DataProcessing-Fixes
Quick wording fix to Producer/Consumer binary test
2 parents 65e744a + 2c56dad commit 3afc0bc

File tree

1 file changed

+33
-8
lines changed

1 file changed

+33
-8
lines changed

DataProcessing/README.md

Lines changed: 33 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -55,31 +55,43 @@ The producer and consumer are small programs written in the [Go Programming lang
5555
chmod a+x producer consumer
5656
```
5757

58-
1. Run the producer with `-h` to view its command-line arguments:
58+
1. Run the `producer` with `-h` to view its command-line arguments:
5959

6060
**macOS** / **Linux**
6161

6262
```console
6363
$ ./producer -h
64-
-name string
64+
```
65+
66+
**Expected output**
67+
68+
```console
69+
$ ./producer -h
70+
-name string
6571
Unicorn Name (default "Shadowfax")
6672
-region string
6773
Region (default "us-east-1")
6874
-stream string
6975
Stream Name (default "wildrydes")
70-
```
76+
```
7177

7278
**Windows**
7379

7480
```console
7581
C:\Downloads>producer.exe -h
76-
-name string
82+
```
83+
84+
**Expected output**
85+
86+
```console
87+
C:\Downloads>producer.exe -h
88+
-name string
7789
Unicorn Name (default "Shadowfax")
7890
-region string
7991
Region (default "us-east-1")
8092
-stream string
8193
Stream Name (default "wildrydes")
82-
```
94+
```
8395

8496
Note the defaults. Running this command without any arguments will produce data about a unicorn named **Shadowfax** to a stream named **wildrydes** in **US East (N. Virginia)**.
8597

@@ -89,21 +101,34 @@ The producer and consumer are small programs written in the [Go Programming lang
89101

90102
```console
91103
$ ./consumer -h
104+
```
105+
106+
**Expected output**
107+
108+
```console
109+
$ ./producer -h
92110
-region string
93111
Region (default "us-east-1")
94112
-stream string
95113
Stream Name (default "wildrydes")
96-
```
114+
```
97115

98-
**Windows**
116+
**Windows**
99117

100118
```console
101119
C:\Downloads>consumer.exe -h
120+
```
121+
122+
**Expected output**
123+
124+
```console
125+
C:\Downloads>consumer.exe -h
102126
-region string
103127
Region (default "us-east-1")
104128
-stream string
105129
Stream Name (default "wildrydes")
106-
```
130+
```
131+
107132

108133
Note the defaults. Running this command without any arguments will read from the stream named **wildrydes** in **US East (N. Virginia)**.
109134

0 commit comments

Comments
 (0)