forked from knative/eventing-contrib
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Stop making sensitive kafka information available for logging (knativ…
…e#329) * Stop making sensitive kafka information available for logging The adapter currently logs the kafka message directly to the console instead; log metadata such as partition, topic, offset instead The receive adapter is currently even worse due to the zap logging done by reflection. This prints out every struct parameter including user/password combo. Drop that and log less sensitive metadata. * Fix Apache Kafka logged adapter metadata to be consistent * Fix formatting, casting of logging messages - receive_adapter/main.go - remove string casts - change 'Bootstap Server' to 'bootstrapServer' - adapter.go - remove casts and change to proper zap.Int{32,64} functions - change logging level to Debug (from Info) * Logging format change: bootstrapServer to bootstrap_server
- Loading branch information
1 parent
9ad60cc
commit baaf66a
Showing
3 changed files
with
11 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters