Commit 096fee7
[Event Hubs Web Jobs Extensions] Adding MinBatchSize and MaxWaitTime Properties (Azure#34698)
* init
* changes
* class with semaphore
* bug fixes
* fixing issue where the background task wasn't waiting the full maxWaitTime
* updates
* adding tests 1
* added end to end test
* additional tests
* test fix
* initial feedback
* regenerating API
* WIP feedback addressing
* Update sdk/eventhub/Microsoft.Azure.WebJobs.Extensions.EventHubs/src/Config/EventHubOptions.cs
Co-authored-by: Jesse Squire <jesse.squire@gmail.com>
* Apply suggestions from code review
Co-authored-by: Jesse Squire <jesse.squire@gmail.com>
* WIP feedback 2
* WIP feedback 3
* Update sdk/eventhub/Microsoft.Azure.WebJobs.Extensions.EventHubs/src/Listeners/PartitionProcessorEventsManager.cs
Co-authored-by: Jesse Squire <jesse.squire@gmail.com>
* Update sdk/eventhub/Microsoft.Azure.WebJobs.Extensions.EventHubs/src/Listeners/PartitionProcessorEventsManager.cs
Co-authored-by: Jesse Squire <jesse.squire@gmail.com>
* feedback 4
* add new validation
* adding test
* Update sdk/eventhub/Microsoft.Azure.WebJobs.Extensions.EventHubs/src/Config/EventHubOptions.cs
Co-authored-by: Jesse Squire <jesse.squire@gmail.com>
* Update sdk/eventhub/Microsoft.Azure.WebJobs.Extensions.EventHubs/src/Config/EventHubOptions.cs
Co-authored-by: Jesse Squire <jesse.squire@gmail.com>
* Update sdk/eventhub/Microsoft.Azure.WebJobs.Extensions.EventHubs/src/Config/EventHubOptions.cs
Co-authored-by: Jesse Squire <jesse.squire@gmail.com>
* feedback
* some fixes
* additional changes
* trying to fix indenting
* accidental file check in
* trying to fix tab / adding some comments
* added some comments
* Update sdk/eventhub/Microsoft.Azure.WebJobs.Extensions.EventHubs/src/Config/EventHubOptions.cs
* Update sdk/eventhub/Microsoft.Azure.WebJobs.Extensions.EventHubs/src/Listeners/PartitionProcessorEventsManager.cs
Co-authored-by: JoshLove-msft <54595583+JoshLove-msft@users.noreply.github.com>
* feedback
---------
Co-authored-by: Jesse Squire <jesse.squire@gmail.com>
Co-authored-by: JoshLove-msft <54595583+JoshLove-msft@users.noreply.github.com>1 parent bc94ecb commit 096fee7
File tree
13 files changed
+774
-231
lines changed- sdk/eventhub/Microsoft.Azure.WebJobs.Extensions.EventHubs
- api
- src
- Config
- Listeners
- Processor
- tests
13 files changed
+774
-231
lines changedLines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
| 36 | + | |
| 37 | + | |
36 | 38 | | |
37 | 39 | | |
38 | 40 | | |
| |||
Lines changed: 51 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| 22 | + | |
| 23 | + | |
22 | 24 | | |
23 | 25 | | |
24 | 26 | | |
| |||
132 | 134 | | |
133 | 135 | | |
134 | 136 | | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
135 | 184 | | |
136 | 185 | | |
137 | 186 | | |
| |||
211 | 260 | | |
212 | 261 | | |
213 | 262 | | |
| 263 | + | |
| 264 | + | |
214 | 265 | | |
215 | 266 | | |
216 | 267 | | |
| |||
Lines changed: 7 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
86 | 86 | | |
87 | 87 | | |
88 | 88 | | |
89 | | - | |
| 89 | + | |
90 | 90 | | |
91 | 91 | | |
92 | 92 | | |
93 | 93 | | |
94 | | - | |
| 94 | + | |
95 | 95 | | |
96 | 96 | | |
97 | 97 | | |
| |||
121 | 121 | | |
122 | 122 | | |
123 | 123 | | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
124 | 129 | | |
125 | 130 | | |
126 | 131 | | |
0 commit comments