Comments (4)
Other statistical information is also valuable (e.g. average time to process incoming messages, size of messages processed, etc.) but these might be better handled by statistical analysis of the log messages, rather than actively computing these inside the feed service provider itself.
from openwhisk-package-kafka.
I suspect this will need to be implemented as a separate thread that wakes up every now and then, computes and records the required information.
from openwhisk-package-kafka.
@bjustin-ibm, how do you feel about having a separate thread running that periodically outputs the health information to the logs?
from openwhisk-package-kafka.
@dubeejw I suspect that will be necessary in order to provide "average" stats. However, it is possible that the /health
endpoint could simply return the current values, and some other monitoring system will handle computing averages by periodically polling the /health
endpoint and recording the results.
For now, let's just make it return the instantaneous values. Later, if we have a need, we can compute/record values using a separate thread.
from openwhisk-package-kafka.
Related Issues (20)
- Binary Encoding causes Corruption HOT 2
- Handle Action Error HOT 2
- Improve logging in the kafkaFeedWeb.js
- Improve Promise usage by using chaining HOT 2
- Should decode not encode UTF-8 messages? HOT 11
- Confusing deprecation comment in doc HOT 5
- [Questions] Java based Kafka Producer to trigger OpenWhisk action HOT 8
- [Proposition] incubator-openwhisk-package-kafka/devGuide.md improvement HOT 3
- [Question] Setting up a localhost Message Hub package in a localhost environment HOT 2
- [Issue] The supplied authentication is not authorized to access 'whisk.system/messaging'. HOT 2
- Naming of Bluemix and MessageHub HOT 1
- Remove MessageHub references where possible and/or replace with "Event Streams" HOT 1
- Use authKey from action parameters instead of __OW_API_KEY
- Please provide example/alternative to deprecated messageHubProduce statement HOT 1
- gradlew test failure "Could not resolve all files"
- Support for subscribing to topic patterns
- Replaying messages already in topics
- Update actions from nodejs:6 to nodejs:10 HOT 5
- I have installed openwhisk-package-kafka, but I cannot find it under the /whisk.system/messaging path
- Kafka trigger not reading messages from Kafka
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from openwhisk-package-kafka.