Skip to content

Commit

Permalink
SAMZA-778: Fix KafkaCheckpointMigration code to avoid start/stop Coor…
Browse files Browse the repository at this point in the history
…dinatorStreamSystemConsumer multiple times
  • Loading branch information
nickpan47 committed Sep 28, 2015
1 parent c76132f commit 2b12242
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,6 @@ class KafkaCheckpointMigration extends MigrationPlan with Logging {
coordinatorSystemConsumer.start()
coordinatorSystemConsumer.bootstrap()
val stream = coordinatorSystemConsumer.getBootstrappedStream(SetMigrationMetaMessage.TYPE)
coordinatorSystemConsumer.stop()
val message = new SetMigrationMetaMessage(source, migrationKey, migrationVal)
stream.contains(message.asInstanceOf[CoordinatorStreamMessage])
}
Expand Down

0 comments on commit 2b12242

Please sign in to comment.