You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 14, 2025. It is now read-only.
Copy file name to clipboardExpand all lines: DataProcessing/README.md
+33-8Lines changed: 33 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -55,31 +55,43 @@ The producer and consumer are small programs written in the [Go Programming lang
55
55
chmod a+x producer consumer
56
56
```
57
57
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:
59
59
60
60
**macOS** / **Linux**
61
61
62
62
```console
63
63
$ ./producer -h
64
-
-name string
64
+
```
65
+
66
+
**Expected output**
67
+
68
+
```console
69
+
$ ./producer -h
70
+
-name string
65
71
Unicorn Name (default "Shadowfax")
66
72
-region string
67
73
Region (default "us-east-1")
68
74
-stream string
69
75
Stream Name (default "wildrydes")
70
-
```
76
+
```
71
77
72
78
**Windows**
73
79
74
80
```console
75
81
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
77
89
Unicorn Name (default "Shadowfax")
78
90
-region string
79
91
Region (default "us-east-1")
80
92
-stream string
81
93
Stream Name (default "wildrydes")
82
-
```
94
+
```
83
95
84
96
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)**.
85
97
@@ -89,21 +101,34 @@ The producer and consumer are small programs written in the [Go Programming lang
89
101
90
102
```console
91
103
$ ./consumer -h
104
+
```
105
+
106
+
**Expected output**
107
+
108
+
```console
109
+
$ ./producer -h
92
110
-region string
93
111
Region (default "us-east-1")
94
112
-stream string
95
113
Stream Name (default "wildrydes")
96
-
```
114
+
```
97
115
98
-
**Windows**
116
+
**Windows**
99
117
100
118
```console
101
119
C:\Downloads>consumer.exe -h
120
+
```
121
+
122
+
**Expected output**
123
+
124
+
```console
125
+
C:\Downloads>consumer.exe -h
102
126
-region string
103
127
Region (default "us-east-1")
104
128
-stream string
105
129
Stream Name (default "wildrydes")
106
-
```
130
+
```
131
+
107
132
108
133
Note the defaults. Running this command without any arguments will read from the stream named **wildrydes** in **US East (N. Virginia)**.
0 commit comments