Git Product home page Git Product logo

Comments (3)

HenryCaiHaiying avatar HenryCaiHaiying commented on August 17, 2024

jsonMessageFormat is not configured to parse that date format. Take a look
at DateMessageParser where you can specify your own input pattern in
message.timestamp.input.pattern

On Tue, Dec 15, 2015 at 10:39 PM, Pongsakorn Eiamrod <
[email protected]> wrote:

I use JSON date parser but in Twitter's streams haven't timestamp I got
the error like this

javalangNumberFormatException: For input string: "Mon Dec 14 16:28:09 +0000 2015"
at sunmiscFloatingDecimalreadJavaFormatString(FloatingDecimaljava:1250)
at javalangDoublevalueOf(Doublejava:504)
at compinterestsecorparserJsonMessageParserextractTimestampMillis(JsonMessageParserjava:39)
at compinterestsecorparserTimestampedMessageParserextractPartitions(TimestampedMessageParserjava:104)
at compinterestsecorparserMessageParserparse(MessageParserjava:40)
at compinterestsecorconsumerConsumerconsumeNextMessage(Consumerjava:139)
at compinterestsecorconsumerConsumerrun(Consumerjava:93)

Could you please give me any suggestion?


Reply to this email directly or view it on GitHub
#158.

from secor.

Bongsakorn avatar Bongsakorn commented on August 17, 2024

I set like this, but still the same. not working.

message.timestamp.input.pattern=^\w+ (\w+) (\d+) ([\d:]+) +0000 (\d+)$

from secor.

HenryCaiHaiying avatar HenryCaiHaiying commented on August 17, 2024

You can either set a breakpoint in that code or use a small test program to
try to see whether regex pattern can match your message header.

On Fri, Feb 12, 2016 at 12:11 AM, Pongsakorn Eiamrod <
[email protected]> wrote:

I set like this, but still the same. not working.

message.timestamp.input.pattern=^\w+ (\w+) (\d+) ([\d:]+) +0000 (\d+)$


Reply to this email directly or view it on GitHub
#158 (comment).

from secor.

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.