Open talevy opened 8 years ago
Remove the hardcoded path in Runner.
String sslCertificate = "/Users/ph/es/certificates/certificate.crt";
sslKey = "/Users/ph/es/certificates/certificate.pkcs8.key";
noPkcs7SslKey = "/Users/ph/es/certificates/certificate.key";
[] certificateAuthorities = new String[] { "/Users/ph/es/certificates/certificate.crt" };
Since the beats java library is meant to be just that, a library, it would be nice to extract the
Runner.java
into a separate tools module in the same gradle project. In addition to that extraction, it would be nice to include another tool to help interact with the Runner from the command line. For example abeatscat
tool that you can interact with via unix pipes to send events to it, and have it behave like a Server where you can retrieve events from it.