> On March 13, 2015, 6:24 p.m., Yan Fang wrote: > > samza-log4j/src/main/java/org/apache/samza/config/Log4jSystemConfig.java, > > line 109 > > <https://reviews.apache.org/r/32006/diff/1/?file=892561#file892561line109> > > > > what is the reason of getting rid of the system serde?
I just didn't think it made any sense. Since the Serdes for StreamAppender are always going to be Serde<LoggingEvent> the probability that you'd have a system configured to use a Serde<LoggingEvent> seemed to be zero. You can still override the log topic's serde using the systems.%s.streams.%s.samza.msg.serde (stream-level) serde config. - Chris ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/32006/#review76396 ----------------------------------------------------------- On March 13, 2015, 12:57 a.m., Chris Riccomini wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/32006/ > ----------------------------------------------------------- > > (Updated March 13, 2015, 12:57 a.m.) > > > Review request for samza. > > > Repository: samza > > > Description > ------- > > add docs > > > fail if containerName is not set. > > > update tests > > > move location enabled config to log4j config file > > > fix MDC link in docs > > > add a logging event json serde for log4j, and set it as default. > > > default to log4j string serde for now > > > Diffs > ----- > > build.gradle 08583e07f1c0bda88433bacb59bc2fd9ef6ce310 > docs/learn/documentation/versioned/jobs/configuration-table.html > ec1287418042b95df73ff7c36a684d3123c46372 > docs/learn/documentation/versioned/jobs/logging.md > af2fd0ea6929230cdc6bc3c51d9ae62adacb55fa > samza-log4j/src/main/java/org/apache/samza/config/Log4jSystemConfig.java > 107ddf0c3d4e0f584a2f68a23debbada5f68dcb8 > > samza-log4j/src/main/java/org/apache/samza/logging/log4j/StreamAppender.java > 4ef3551f470e77e27bd156e81ce96486f25c21bf > > samza-log4j/src/main/java/org/apache/samza/logging/log4j/serializers/LoggingEventJsonSerde.java > PRE-CREATION > > samza-log4j/src/main/java/org/apache/samza/logging/log4j/serializers/LoggingEventJsonSerdeFactory.java > PRE-CREATION > > samza-log4j/src/test/java/org/apache/samza/config/TestLog4jSystemConfig.java > 16ccb459892f62245648235eb65f53b26e8ecb87 > > samza-log4j/src/test/java/org/apache/samza/logging/log4j/TestStreamAppender.java > 3e4ddc9c72868e22f993f60015224cd3a153266c > > Diff: https://reviews.apache.org/r/32006/diff/ > > > Testing > ------- > > > Thanks, > > Chris Riccomini > >