Skip to content

Commit

Permalink
[FSTORE-800] Increase timeout to create kafka topics (#1405)
Browse files Browse the repository at this point in the history
  • Loading branch information
SirOibaf authored May 22, 2023
1 parent afead64 commit b231040
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ public ProjectTopics createTopicInProject(Project project, TopicDTO topicDto) th

// create the topic in kafka
try {
if (createTopicInKafka(topicDto).get(3000, TimeUnit.MILLISECONDS) == null) {
if (createTopicInKafka(topicDto).get(6000, TimeUnit.MILLISECONDS) == null) {
throw new KafkaException(RESTCodes.KafkaErrorCode.TOPIC_ALREADY_EXISTS_IN_ZOOKEEPER, Level.INFO,
"topic name: " + topicDto.getName());
}
Expand Down

0 comments on commit b231040

Please sign in to comment.