Bases: tuple
Result from the healthcheck, contains healthy(boolean) and message
Alias for field number 0
Alias for field number 1
Bases: object
Evaluates kafka health
Healthcheck verifies if:
If following conditions are met healthcheck returns healthy status. Otherwise unhealthy status is returned with explanation.
Example of middleware configuration:
[kafka_healthcheck]
kafka_url = localhost:8900
kafka_topics = log
Bases: keystonemiddleware.auth_token.AuthProtocol
SkippingAuthProtocol to reach healthcheck endpoint
Because healthcheck endpoints exists as endpoint, it is hidden behind keystone filter thus a request needs to authenticated before it is reached.
Return factory function for SkippingAuthProtocol
Parameters: |
|
---|---|
Returns: | factory function |
Return type: | function |