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
while (!isProcessorRunning.get()); //Wait for Change Feed processor start
115
113
```
116
114
---
117
-
115
+
118
116
```"SampleHost_1"``` is the name of the Change Feed processor worker. ```changeFeedProcessorInstance.start()``` is what actually starts the Change Feed processor.
119
117
120
118
Return to the Azure Portal Data Explorer in your browser. Under the **InventoryContainer-leases** container, click **items** to see its contents. You will see that Change Feed Processor has populated the lease container, i.e. the processor has assigned the ```SampleHost_1``` worker a lease on some partitions of the **InventoryContainer**.
@@ -125,7 +123,6 @@ mvn clean package
125
123
126
124
# [Java SDK 4.0](#tab/v4sdk)
127
125
128
-
**Java SDK 4.0**
129
126
```java
130
127
public static ChangeFeedProcessor getChangeFeedProcessor(String hostName, CosmosAsyncContainer feedContainer, CosmosAsyncContainer leaseContainer) {
131
128
ChangeFeedProcessorOptions cfOptions = new ChangeFeedProcessorOptions();
@@ -153,7 +150,6 @@ mvn clean package
153
150
154
151
# [Java SDK 3.7.0](#tab/v3sdk)
155
152
156
-
**Java SDK 3.7.0**
157
153
```java
158
154
public static ChangeFeedProcessor getChangeFeedProcessor(String hostName, CosmosContainer feedContainer, CosmosContainer leaseContainer) {
159
155
ChangeFeedProcessorOptions cfOptions = new ChangeFeedProcessorOptions();
0 commit comments