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
* Implement enhanced fan-out consumer
Signed-off-by: Ilia Cimpoes <[email protected]>
* Add test cases
Signed-off-by: Ilia Cimpoes <[email protected]>
* Small adjustments in fan-out consumer
Signed-off-by: Ilia Cimpoes <[email protected]>
returnErrLeaseNotAcquired{"current lease timeout not yet expired"}
145
145
}
146
146
147
-
checkpointer.log.Debugf("Attempting to get a lock for shard: %s, leaseTimeout: %s, assignedTo: %s", shard.ID, currentLeaseTimeout, assignedTo)
147
+
checkpointer.log.Debugf("Attempting to get a lock for shard: %s, leaseTimeout: %s, assignedTo: %s, newAssignedTo: %s", shard.ID, currentLeaseTimeout, assignedTo, newAssignTo)
148
148
conditionalExpression="ShardID = :id AND AssignedTo = :assigned_to AND LeaseTimeout = :lease_timeout"
// Either consumer name or consumer ARN must be specified when Enhanced Fan-Out is enabled.
176
+
EnableEnhancedFanOutConsumerbool
177
+
178
+
// EnhancedFanOutConsumerName is the name of the enhanced fan-out consumer to create.
179
+
EnhancedFanOutConsumerNamestring
180
+
181
+
// EnhancedFanOutConsumerARN is the ARN of an already created enhanced fan-out consumer, if this is set no automatic consumer creation will be attempted
182
+
EnhancedFanOutConsumerARNstring
183
+
172
184
// WorkerID used to distinguish different workers/processes of a Kinesis application
173
185
WorkerIDstring
174
186
175
187
// InitialPositionInStream specifies the Position in the stream where a new application should start from
176
188
InitialPositionInStreamInitialPositionInStream
177
189
178
-
// InitialPositionInStreamExtended provides actual AT_TMESTAMP value
190
+
// InitialPositionInStreamExtended provides actual AT_TIMESTAMP value
0 commit comments