-
Notifications
You must be signed in to change notification settings - Fork 68
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
Addressing the following Redis related issues. #172
Addressing the following Redis related issues. #172
Conversation
Will have a look at the failing checks |
@tot-ra All checks are now green. Could you have a look at the PR? |
README.md
Outdated
| KAFKA_QUERIES_TOPIC | Topic with new schema | graphql-queries | | ||
| LOG_LEVEL | Minimum level of logs to output | info | | ||
| LOG_TYPE | Output log type, supports pretty or json. | pretty | | ||
| LOG_STREAMING_ENABLED | Controls whether logs are streamed over Redis to be presented in UI | false | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd suggest to enable it by default to have richest experience by default
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Or what do you think.. should we move to most minimal version by default (no redis, no kafka.. maybe even no mysql -> sqlite?)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd suggest to enable it by default to have richest experience by default
Sounds reasonable to me. As long as there's a configuration to disable it, I don't mind having to disable it within our deployments. I'll invert the logic.
We had implemented this logic within our fork and it seemed to work well. I'll check it out. |
@tot-ra Everything should be good now. Streaming logs over Redis is enabled by default. Could you have another look? |
hmm.. I keep getting
when I run |
@tot-ra Fixed the |
Hey @tot-ra , would you be able to take another look at this? |
@ehardy hey. Unfortunately I don't have access to pipedrive namespace anymore. I'm waiting for Pipedrive legal, devops tooling, core services team and CTO to handover repo to my personal namespace. If that doesn't happen until end of this year, I guess I'll fork it and continue work separately from this namespace |
@tot-ra Do you have any update on the future direction and support for the pipedrive schema registry? |
@rdepping I've forked the repo to my namespace - https://github.com/tot-ra/graphql-schema-registry hopefully I can maintain it instead |
Problem
Redis seems to have become mandatory in recent releases. We have noticed a couple of issues after grabbing the latest version.
RedisTransport
object insrc/logger.ts
in cases where Redis requires password authentication (which is the case in our environments).Changes
RedisTransport
constructor insrc/logger.ts
.init()
function insrc/index.ts
. With this change the warnings in the logs disappear.docker-compose.base.yml
now makes sure to launch Redis with password protection.LOG_STREAMING_ENABLED
to further control if log streaming over Redis should be enabled or not.Testing
All existing unit and integration tests are passing.