Coder Social home page Coder Social logo

Comments (8)

chaochenq avatar chaochenq commented on June 1, 2024

Hello, could you turn on DEBUG in the log and grep for potential stack trace or error message?

You can change the log level by adding

"log.level": "TRACE" or "log.level": "DEBUG" to the top of the config file.

If you think the log is too noisy, could you send it to me at [email protected]? I'll take a look and let you know ASAP.

Right now the error message of each record is put in TRACE level, that's probably the reason why you didn't see the error in ERROR. We probably shouldn't have done that way, but this intent to make the ERROR cleaner.

from amazon-kinesis-agent.

chaochenq avatar chaochenq commented on June 1, 2024

At the same time, could you also try changing this message from "debug" to "error" to see if it helps?

https://github.com/awslabs/amazon-kinesis-agent/blob/master/src/com/amazon/kinesis/streaming/agent/tailing/SimplePublisher.java#L206

I'm patching another release to fix the error message too.

from amazon-kinesis-agent.

mattford63 avatar mattford63 commented on June 1, 2024

With debug level monitoring I see this:

2016-04-13 07:34:50.021+0000 ip-10-30-156-195 (sender-7) com.amazon.kinesis.streaming.agent.tailing.AsyncPublisher [DEBUG] AsyncPublish er[kinesis:dev-amazon-agent-kinesis-AmazonAgentKinesisStream-XXXXXX:/var/log/canary/ingress/ingress.log]:RecordBuffer(id=11,recor ds=500,bytes=252824) Retriable send error (com.amazonaws.AmazonClientException: Unable to marshall request to JSON: com/fasterxml/jacks on/dataformat/cbor/CBORFactory). Will retry.

from amazon-kinesis-agent.

mattford63 avatar mattford63 commented on June 1, 2024

Found a similar error here

http://stackoverflow.com/questions/35467833/unable-to-marshall-request-to-json-amazon-aws

from amazon-kinesis-agent.

mattford63 avatar mattford63 commented on June 1, 2024

I've been able to get the agent working by downgrading the Amazon SDK to the version used in 1.0.

from amazon-kinesis-agent.

mattford63 avatar mattford63 commented on June 1, 2024
Date:   Wed Apr 13 10:10:53 2016 +0000

    Downgrade SDK

diff --git a/pom.xml b/pom.xml
index 219c7de..1d9d638 100644
--- a/pom.xml
+++ b/pom.xml
@@ -23,7 +23,7 @@
     </licenses>

     <properties>
-        <aws-java-sdk.version>1.10.67</aws-java-sdk.version>
+        <aws-java-sdk.version>1.10.26</aws-java-sdk.version>
     </properties>

     <dependencies>
@@ -209,4 +209,4 @@
       </plugins>
     </build>

-</project>
\ No newline at end of file
+</project>
diff --git a/setup b/setup
index 9d4f3f6..57fc582 100755
--- a/setup
+++ b/setup
@@ -47,7 +47,7 @@ download_dependencies() {
   install -d ${dependencies_dir}

   echo "Downloading dependencies ..."
-  aws_java_sdk_version="1.10.67"
+  aws_java_sdk_version="1.10.26"

   remote_mvn_pkg="com.amazonaws:aws-java-sdk-core:${aws_java_sdk_version} \
                   com.amazonaws:aws-java-sdk-kinesis:${aws_java_sdk_version} \```

from amazon-kinesis-agent.

chaochenq avatar chaochenq commented on June 1, 2024

Sorry for the inconvenience. I'm gonna downgrade the sdk version then

from amazon-kinesis-agent.

chaochenq avatar chaochenq commented on June 1, 2024

I've pushed a patch release.

from amazon-kinesis-agent.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.