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

API call for Kinesis HealthCheck: Structure #35

Closed
3 tasks
danotorrey opened this issue May 21, 2019 · 1 comment
Closed
3 tasks

API call for Kinesis HealthCheck: Structure #35

danotorrey opened this issue May 21, 2019 · 1 comment
Assignees
Labels

Comments

@danotorrey
Copy link
Contributor

danotorrey commented May 21, 2019

Overall structure for the Kinesis HealthCheck (resource endpoint, tie together log retrieval, detection, and parsing).

Three other issues exist as part of this larger issue:

More info:
Note: Before this can be implemented, we first need to identify if we can read a message from a Kinesis stream without deleting it from the stream (to avoid it being lost). The Kinesis Client Library for Java will create a consumer that retrieves a large number of message at a time and does not support the ability to leave a message on a stream. We need to do some research to identify if a workaround exists to read a sample message from the stream and leave it in the stream.

See https://docs.aws.amazon.com/streams/latest/dev/kcl-migration.html for the new KCL config options.

An issue was opened with this Kinesis Client Library team, and they recommended using the direct kinesis API.

Implement the HealthCheck API call. This should perform the following operations:

Attempt to pull a log message from a Kinesis stream see Kinesis consumer code in this issue, also see this sample consumer/subscriber code for how to use the pattern in the latest Kinesis client library.

Identify if the log message is in a known format. Indicate that format in the response message. This will automatically establish a codec/parsing for it. Perhaps we can use a regex for this? See this link that lists the format for all AWS services that can publish messages to CloudWatch: https://docs.aws.amazon.com/AmazonCloudWatch/latest/events/EventTypes.html We definitely have to support CloudWatch and supporting others would be a plus.

  • Return log message for parsing.
@danotorrey danotorrey changed the title Implement the HealthCheck API call Add HealthCheck API call May 21, 2019
@danotorrey danotorrey added the #XL > 1w label May 21, 2019
@cobaltclaudia cobaltclaudia changed the title Add HealthCheck API call Add API call for HealthCheck May 22, 2019
@cobaltclaudia cobaltclaudia self-assigned this May 22, 2019
@cobaltclaudia cobaltclaudia changed the title Add API call for HealthCheck Add API call for Kinesis HealthCheck May 29, 2019
@danotorrey danotorrey added #M > 1d <= 3d and removed #XL > 1w labels Jun 5, 2019
@danotorrey danotorrey changed the title Add API call for Kinesis HealthCheck API call for Kinesis HealthCheck: Structure Jun 5, 2019
@danotorrey
Copy link
Contributor Author

Closed via #86

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants