Skip to content

Commit

Permalink
Return back to old code (#257)
Browse files Browse the repository at this point in the history
  • Loading branch information
masesdevelopers committed Jun 27, 2024
1 parent d7a87ab commit c03949a
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions src/net/KEFCore/Storage/Internal/KafkaCluster.cs
Original file line number Diff line number Diff line change
Expand Up @@ -228,14 +228,7 @@ private string CreateTable(IEntityType entityType, int cycle)
}
catch (TopicExistsException ex)
{
string message;
if (ex.BridgeInstance == null && ex is JVMBridgeException ex2)
{
message = ex2.Message;
}
else message = ex.Message;

if (message.Contains("deletion"))
if (ex.Message.Contains("deletion"))
{
Thread.Sleep(1000); // wait a while to complete topic deletion and try again
return CreateTable(entityType, cycle++);
Expand Down

0 comments on commit c03949a

Please sign in to comment.