<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[JSON_ZJS的博客]]></title><description><![CDATA[]]></description><link>https://blog.csdn.net/JSON_ZJS</link><language>zh-cn</language><generator>https://blog.csdn.net/</generator><copyright><![CDATA[Copyright &copy; JSON_ZJS]]></copyright><item><title><![CDATA[kafka监控软件kafka-eagle搭建 web无法访问]]></title><link>https://blog.csdn.net/JSON_ZJS/article/details/128059327</link><guid>https://blog.csdn.net/JSON_ZJS/article/details/128059327</guid><author>JSON_ZJS</author><pubDate>Sat, 26 Nov 2022 23:52:30 +0800</pubDate><description><![CDATA[kafka-eagle 无法访问]]></description><category></category></item><item><title><![CDATA[nacos伪集群安装注意到]]></title><link>https://blog.csdn.net/JSON_ZJS/article/details/125049147</link><guid>https://blog.csdn.net/JSON_ZJS/article/details/125049147</guid><author>JSON_ZJS</author><pubDate>Mon, 30 May 2022 16:33:26 +0800</pubDate><description><![CDATA[1：端口需要隔离开 新版增加GRPC 不要挨着设置ip，否则会出现端口占用。

可以使用 8848 8858 8868

8848GRPC会占用9848 9899

8849：     占用9849 9850

8850：     占用9850 9851

nginx 负载也需要与上述端口 隔离开。

2、配置文件：cluster.conf

不要使用 127.0.0.1 也不要使用阿里云的公网ip 使用内网ip 192.XXX

否则 客户端多实例无法注册上去。
...]]></description><category></category></item><item><title><![CDATA[RPC远程过程调用之Hessian 基于HTTP]]></title><link>https://blog.csdn.net/JSON_ZJS/article/details/118683164</link><guid>https://blog.csdn.net/JSON_ZJS/article/details/118683164</guid><author>JSON_ZJS</author><pubDate>Mon, 12 Jul 2021 20:25:42 +0800</pubDate><description><![CDATA[Hessian使用C/S方式，基于HTTP协议传输，使用Hessian二进制序列化。



添加依赖：


&lt;dependency&gt;
            &lt;groupId&gt;com.caucho&lt;/groupId&gt;
            &lt;artifactId&gt;hessian&lt;/artifactId&gt;
            &lt;version&gt;4.0.7&lt;/version&gt;
&lt;/dependency&gt;



]]></description><category></category></item><item><title><![CDATA[RPC远程过程调用之 RMI实现]]></title><link>https://blog.csdn.net/JSON_ZJS/article/details/118682134</link><guid>https://blog.csdn.net/JSON_ZJS/article/details/118682134</guid><author>JSON_ZJS</author><pubDate>Mon, 12 Jul 2021 20:18:56 +0800</pubDate><description><![CDATA[1）RMI（remote method invocation）是java原生支持的远程调用，RMI采用JRMP（java RemoteMessageing Protocol）作为通信协议。可以认为是纯java版本的分布式远程调用解决方法。

2）RMI的核心概念



3）RMI实现步骤

1、创建远程接口，并继承java.rmi.Remote接口

2、实现远程接口，并继承：UnicastRemoteObject

3、创建服务器程序，createRegistry() 方法注册远程对象

4、创建客户端程]]></description><category></category></item><item><title><![CDATA[Zookeeper分布式锁的实现]]></title><link>https://blog.csdn.net/JSON_ZJS/article/details/118424952</link><guid>https://blog.csdn.net/JSON_ZJS/article/details/118424952</guid><author>JSON_ZJS</author><pubDate>Fri, 02 Jul 2021 23:37:59 +0800</pubDate><description><![CDATA[package com.atguigu.Lock;

import org.apache.zookeeper.*;
import org.apache.zookeeper.data.Stat;

import java.io.IOException;
import java.util.Collections;
import java.util.List;
import java.util.concurrent.CountDownLatch;

public class DistributeLock {

 ]]></description><category></category></item><item><title><![CDATA[Redis非阻塞I/O多路复用机制]]></title><link>https://blog.csdn.net/JSON_ZJS/article/details/118101018</link><guid>https://blog.csdn.net/JSON_ZJS/article/details/118101018</guid><author>JSON_ZJS</author><pubDate>Tue, 22 Jun 2021 10:16:18 +0800</pubDate><description><![CDATA[小曲在S城开了一家快递店，负责同城快送服务。小曲因为资金限制，雇佣了一批快递员，然后小曲发现资金不够了，只够买一辆车送快递。
经营方式一
客户每送来一份快递，小曲就让一个快递员盯着，然后快递员开车去送快递。慢慢的小曲就发现了这种
经营方式存在下述问题：
1、几十个快递员基本上时间都花在了抢车上了，大部分快递员都处在闲置状态，谁抢到了车，谁就能去送快递
2、随着快递的增多，快递员也越来越多，小曲发现快递店里越来越挤，没办法雇佣新的快递员了
3、快递员之间的协调很花时间
综合上述缺点，小曲痛定思痛，提出了下面的]]></description><category></category></item><item><title><![CDATA[Ubuntu 免密登录]]></title><link>https://blog.csdn.net/JSON_ZJS/article/details/116852707</link><guid>https://blog.csdn.net/JSON_ZJS/article/details/116852707</guid><author>JSON_ZJS</author><pubDate>Sat, 15 May 2021 15:46:19 +0800</pubDate><description><![CDATA[ssh-keygen的使用方法及配置authorized_keys两台linux机器相互认证

]]></description><category></category></item><item><title><![CDATA[Ubuntu 中 Apache2 安装、配置、卸载]]></title><link>https://blog.csdn.net/JSON_ZJS/article/details/116159726</link><guid>https://blog.csdn.net/JSON_ZJS/article/details/116159726</guid><author>JSON_ZJS</author><pubDate>Mon, 26 Apr 2021 16:04:48 +0800</pubDate><description><![CDATA[Ubuntu 中 Apache2 安装、配置、卸载

]]></description><category></category></item><item><title><![CDATA[Nginx  原理]]></title><link>https://blog.csdn.net/JSON_ZJS/article/details/116132780</link><guid>https://blog.csdn.net/JSON_ZJS/article/details/116132780</guid><author>JSON_ZJS</author><pubDate>Sun, 25 Apr 2021 16:43:01 +0800</pubDate><description><![CDATA[nginx原理一
nginx原理二

]]></description><category></category></item><item><title><![CDATA[java 为文件及文件夹添加权限]]></title><link>https://blog.csdn.net/JSON_ZJS/article/details/115708211</link><guid>https://blog.csdn.net/JSON_ZJS/article/details/115708211</guid><author>JSON_ZJS</author><pubDate>Wed, 14 Apr 2021 20:18:46 +0800</pubDate><description><![CDATA[/**
 * 增加权限，使路径可上传文件
 */
public static void addChmod777(String filePath) throws IOException {
	if (!System.getProperty("os.name").startsWith("Win")) {
		String cmdGrant = "chmod 777 " + filePath;
		BaseLogMethod.logInfo(TAG, "File Augmentation after Moving]]></description><category></category></item><item><title><![CDATA[在dialog中使用EditText键盘弹不起来的解决方法]]></title><link>https://blog.csdn.net/JSON_ZJS/article/details/115028713</link><guid>https://blog.csdn.net/JSON_ZJS/article/details/115028713</guid><author>JSON_ZJS</author><pubDate>Sat, 20 Mar 2021 15:34:26 +0800</pubDate><description><![CDATA[mySelectDialog.getWindow().clearFlags(WindowManager.LayoutParams.FLAG_ALT_FOCUSABLE_IM);




]]></description><category></category></item><item><title><![CDATA[IDEA无法加载log文件]]></title><link>https://blog.csdn.net/JSON_ZJS/article/details/114559221</link><guid>https://blog.csdn.net/JSON_ZJS/article/details/114559221</guid><author>JSON_ZJS</author><pubDate>Tue, 09 Mar 2021 00:44:43 +0800</pubDate><description><![CDATA[如图所示，无论怎么生成log文件，idea文件列表始终不显式

解决方法
打开setting 打开File Types 选择文本文档Text，添加后缀*.log



]]></description><category></category></item><item><title><![CDATA[Java int 转大端序、小端序]]></title><link>https://blog.csdn.net/JSON_ZJS/article/details/113972089</link><guid>https://blog.csdn.net/JSON_ZJS/article/details/113972089</guid><author>JSON_ZJS</author><pubDate>Tue, 23 Feb 2021 09:38:35 +0800</pubDate><description><![CDATA[采用小端法， 字节的排序是从最无意义的字节到最有意义的字节。
而大端法中， 字节的排序是从最有意义的字节到最无意义的字节。
public static byte[] intToByteBig(int n) {
        byte[] b = new byte[4];
        b[0] = (byte) (n &gt;&gt; 24 &amp; 0xff);
        b[1] = (byte) (n &gt;&gt; 16 &amp; 0xff);
        b[2] = (byt]]></description><category></category></item><item><title><![CDATA[Android音频处理 PCM格式]]></title><link>https://blog.csdn.net/JSON_ZJS/article/details/113589574</link><guid>https://blog.csdn.net/JSON_ZJS/article/details/113589574</guid><author>JSON_ZJS</author><pubDate>Wed, 03 Feb 2021 11:07:32 +0800</pubDate><description><![CDATA[Android音频处理——通过AudioRecord去保存PCM文件进行录制，播放，停止，删除功能
Android音频开发（2）：使用AudioRecord录制pcm格式音频
AudioTrack读取PCM

]]></description><category></category></item><item><title><![CDATA[Android 对话框，确定取消]]></title><link>https://blog.csdn.net/JSON_ZJS/article/details/113514951</link><guid>https://blog.csdn.net/JSON_ZJS/article/details/113514951</guid><author>JSON_ZJS</author><pubDate>Mon, 01 Feb 2021 14:20:39 +0800</pubDate><description><![CDATA[1 添加依赖
   //对话框
    implementation 'com.nineoldandroids:library:2.4.0'
    implementation 'com.github.sd6352051.niftydialogeffects:niftydialogeffects:1.0.0@aar'

代码
  final NiftyDialogBuilder dialogBuilder = NiftyDialogBuilder.getInstance(this);
          ]]></description><category></category></item><item><title><![CDATA[IDEA连接mysql又报错！Server returns invalid timezone. Go to ‘Advanced‘ tab and set ‘serverTimezone‘ prope]]></title><link>https://blog.csdn.net/JSON_ZJS/article/details/113008387</link><guid>https://blog.csdn.net/JSON_ZJS/article/details/113008387</guid><author>JSON_ZJS</author><pubDate>Fri, 22 Jan 2021 23:35:42 +0800</pubDate><description><![CDATA[引用链接

]]></description><category></category></item><item><title><![CDATA[SpringBoot 使用Thymeleaf模板 没有提示]]></title><link>https://blog.csdn.net/JSON_ZJS/article/details/112755104</link><guid>https://blog.csdn.net/JSON_ZJS/article/details/112755104</guid><author>JSON_ZJS</author><pubDate>Sun, 17 Jan 2021 17:56:05 +0800</pubDate><description><![CDATA[参考文档：IDEA使用Thymeleaf输入 th: 没有智能提示的全新解决办法（写于2020年8月14日）
&lt;!DOCTYPE html&gt;
&lt;html lang="en" xmlns:th="http://www.w3.org/1999/xhtml"&gt;
&lt;html lang="en" xmlns:th="http://www.thymeleaf.org"

解决

...]]></description><category></category></item><item><title><![CDATA[logback-spring.xml配置文件]]></title><link>https://blog.csdn.net/JSON_ZJS/article/details/112726563</link><guid>https://blog.csdn.net/JSON_ZJS/article/details/112726563</guid><author>JSON_ZJS</author><pubDate>Sat, 16 Jan 2021 22:59:45 +0800</pubDate><description><![CDATA[logback-spring.xml配置文件
自己改下value="G:/logs/pmp"这个值，如果你相关依赖弄好的话，直接复制粘贴即用
输出的日志文件的名称最好也改下，下文中${log.path}/web_info.log是因为我这个模块就叫web，要改的话，一个appender改两处
集成到springboot的yml格式配置文件的示例：
logging:
  config: classpath:logback-spring.xml
  level:
    dao: debug
    org:
]]></description><category></category></item><item><title><![CDATA[Android okhttp请求获取Headers信息]]></title><link>https://blog.csdn.net/JSON_ZJS/article/details/112567471</link><guid>https://blog.csdn.net/JSON_ZJS/article/details/112567471</guid><author>JSON_ZJS</author><pubDate>Wed, 13 Jan 2021 15:17:13 +0800</pubDate><description><![CDATA[LoginBean loginBean = new Gson().fromJson(response.body().string(), LoginBean.class);
                            if (loginBean.getRet() == 0) {
                                SharedPreferencesUtils.setParam(LoginActivity.this, "key", loginBean.getJSess..]]></description><category></category></item><item><title><![CDATA[Spring开启注解AOP的支持放置的位置]]></title><link>https://blog.csdn.net/JSON_ZJS/article/details/112437170</link><guid>https://blog.csdn.net/JSON_ZJS/article/details/112437170</guid><author>JSON_ZJS</author><pubDate>Sun, 10 Jan 2021 18:41:03 +0800</pubDate><description><![CDATA[放在springmvc的aop,需要在springmvc的配置文件中写开启aop,而不是spring的配置文件
最近使用aop来记录controller的日志.
但是发现没有起作用.
后来发现是因为我的 aop 是写在controller层(在springmvc的容器中 -web中)
而开启aop配置却写在spring(applicationContext.xml)中,
所以不起作用,需要在springmvc.xml的配置文件中也开启才行

...]]></description><category></category></item></channel></rss>