Skip to content
This repository was archived by the owner on Nov 16, 2023. It is now read-only.

Conversation

@sayar
Copy link
Contributor

@sayar sayar commented May 1, 2019

All Submissions:

  • Have you followed the guidelines in our Contributing document?

  • Have you checked to ensure there aren't other open Pull Requests for the same update/change?

  • Does your PR follow our Code of Conduct?

  • Have you added an explanation of what your changes do and why you'd like us to include them?

  • Does each method or function "do one thing well"? Reviewers may recommend methods be split up for maintainability and testability.

  • Is this code designed to be testable?

  • Is the code documented well?

  • Does your submission pass existing tests (or update existing tests with documentation regarding the change)?

  • Have you added tests to cover your changes?

  • Have you linted your code prior to submission?

  • Have you updated the documentation and README?

  • Is PII treated correctly? In particular, make sure the code is not logging objects or strings that might contain PII (e.g. request headers).

  • Have secrets been stripped before committing?

@sayar sayar requested review from c-w and margaretmeehan May 1, 2019 18:50
logger.debug("Kafka Debug set to: {}".format(config['debug']))

if user_config.get('EVENTHUB_KAFKA_CONNECTION_STRING'):
if user_config.get('EVENTHUB_KAFKA_CONNECTION_STRING') is not None:
Copy link
Contributor

Choose a reason for hiding this comment

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

here we have to ensure that user_config.get('EVENTHUB_KAFKA_CONNECTION_STRING') won't return an empty string if it's not set

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants