|
@@ -1,11 +1,9 @@
|
|
|
package com.tidecloud.datacceptance.service.impl;
|
|
|
|
|
|
-import java.io.BufferedOutputStream;
|
|
|
import java.io.DataOutputStream;
|
|
|
import java.io.File;
|
|
|
import java.io.FileOutputStream;
|
|
|
import java.io.IOException;
|
|
|
-import java.io.OutputStream;
|
|
|
import java.nio.ByteBuffer;
|
|
|
import java.nio.CharBuffer;
|
|
|
import java.nio.charset.Charset;
|
|
@@ -37,8 +35,7 @@ import io.netty.channel.ChannelInboundHandlerAdapter;
|
|
|
@Component
|
|
|
public class DiscardServerHandler extends ChannelInboundHandlerAdapter {
|
|
|
|
|
|
- @Value("${server.dataPath}")
|
|
|
- private String dataPath;
|
|
|
+ private String dataPath = "/home/service/collector_watch/rawdata/";
|
|
|
|
|
|
private static final Logger logger = LoggerFactory.getLogger(DiscardServerHandler.class);
|
|
|
private static final Long TEN_M = 10485760l;
|