We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 97a37c5 + 2a7e356 commit e8ec5edCopy full SHA for e8ec5ed
src/main/java/com/azure/cosmos/examples/changefeed/SampleChangeFeedProcessor.java
@@ -63,6 +63,7 @@ public static void main(String[] args) {
63
// <ChangeFeedProcessorOptions>
64
options = new ChangeFeedProcessorOptions();
65
options.setStartFromBeginning(false);
66
+ options.setLeasePrefix("myChangeFeedDeploymentUnit");
67
// </ChangeFeedProcessorOptions>
68
69
//Summary of the next four commands:
@@ -125,7 +126,7 @@ public static void main(String[] args) {
125
126
}
127
128
logger.info("-->DELETE sample's database: " + DATABASE_NAME);
- deleteDatabase(cosmosDatabase);
129
+ //deleteDatabase(cosmosDatabase);
130
131
Thread.sleep(500);
132
0 commit comments