예제 #1
0
 private void writeObject(ObjectOutputStream out) throws IOException, ClassNotFoundException {
   out.defaultWriteObject();
   out.writeObject(consumerConfig.props().props());
 }
 public void setConsumerProperty(String key, Object value) {
   consumerConfig.props().props().setProperty(checkNotNull(key), checkNotNull(value).toString());
 }