Skip to content

Commit

Permalink
[Java Client] Use info, not warn, log level when successfully registe…
Browse files Browse the repository at this point in the history
…ring schema (apache#12819)

(cherry picked from commit e993f32)
  • Loading branch information
michaeljmarshall authored and eolivelli committed Nov 16, 2021
1 parent 4711db9 commit bdd57b2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -630,7 +630,7 @@ private void tryRegisterSchema(ClientCnx cnx, MessageImpl msg, SendCallback call
callback.sendComplete((PulsarClientException.IncompatibleSchemaException) t);
}
} else {
log.warn("[{}] [{}] GetOrCreateSchema succeed", topic, producerName);
log.info("[{}] [{}] GetOrCreateSchema succeed", topic, producerName);
SchemaHash schemaHash = SchemaHash.of(msg.getSchemaInternal());
schemaCache.putIfAbsent(schemaHash, v);
msg.getMessageBuilder().setSchemaVersion(v);
Expand Down

0 comments on commit bdd57b2

Please sign in to comment.