Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Major/uppsf 986 update kafka lib #32

Merged
merged 4 commits into from
Jan 15, 2020

Conversation

ivan-p-nikolov
Copy link
Contributor

Bump service to v2
Start using go-logger/v2 in main.go
Move to v1.0.0 of message-queue-gosumer

@ivan-p-nikolov ivan-p-nikolov requested a review from a team January 9, 2020 11:20
Copy link

@karsov karsov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does not look like it's working properly, when I send a message to be picked by the service, I see the following in the logs:

generic-rw-s3-9595c7b98-72nmk generic-rw-s3 Failed to obtain reader, logger is not initialised - please use InitLogger or InitDefaultLogger function

main.go Outdated
@@ -119,6 +119,11 @@ func main() {
EnvVar: "REQUEST_LOGGING_ENABLED",
})

logConf := log.KeyNamesConfig{KeyTime: "@time"}
logger := log.NewUPPLogger(*appName, *logLevel, logConf)
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

*appName, *logLevel receive their values from the user input in the app.Action block.

}

logger.InitLogger(*appName, *logLevel)
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure if we need to remove this. I think this is still used in the other parts of the service.

@ivan-p-nikolov ivan-p-nikolov force-pushed the major/UPPSF-986-update-kafka-lib branch from 01199b0 to 7ff1a4f Compare January 9, 2020 15:42
@coveralls
Copy link

coveralls commented Jan 9, 2020

Coverage Status

Coverage remained the same at 92.063% when pulling 5ce3cca on major/UPPSF-986-update-kafka-lib into f117e01 on master.

Apply go mod tidy
Start using go-logger/v2 in main.go
@ivan-p-nikolov ivan-p-nikolov merged commit fce3270 into master Jan 15, 2020
ivan-p-nikolov added a commit that referenced this pull request Jan 16, 2020
…fka-lib

Major/uppsf 986 update kafka lib
ivan-p-nikolov added a commit that referenced this pull request Jan 16, 2020
@ivan-p-nikolov ivan-p-nikolov deleted the major/UPPSF-986-update-kafka-lib branch January 16, 2020 11:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants