{"id":10021160,"date":"2026-01-04T15:41:43","date_gmt":"2026-01-04T07:41:43","guid":{"rendered":"https:\/\/itmax.cn\/?p=10021160"},"modified":"2026-01-04T15:41:43","modified_gmt":"2026-01-04T07:41:43","slug":"spring-boot-3-3java-21spring-airustfs%e6%89%93%e9%80%a0%e7%9a%84%e6%99%ba%e8%83%bd%e9%9d%a2%e8%af%95%e5%b9%b3%e5%8f%b0%e5%bc%80%e6%ba%90%e5%95%a6%ef%bc%81","status":"publish","type":"post","link":"https:\/\/itmax.cn\/?p=10021160","title":{"rendered":"Spring Boot 3.3+Java 21+Spring AI+RustFS\u6253\u9020\u7684\u667a\u80fd\u9762\u8bd5\u5e73\u53f0\u5f00\u6e90\u5566\uff01"},"content":{"rendered":"<p>\u4f60\u597d\uff0c\u6211\u662f Guide\u3002\u5229\u7528\u5143\u65e6\u5047\u671f\uff0c\u6211\u5f00\u6e90\u4e86\u4e00\u4e2a\u57fa\u4e8e Spring Boot 3.3 + Java 21 + Spring AI + PostgreSQL + pgvector + RustFS + Redis \u7684\u5927\u6a21\u578b\u9879\u76ee\uff0c\u5b9e\u73b0\u4e86\u7b80\u5386\u667a\u80fd\u5206\u6790\u3001AI \u6a21\u62df\u9762\u8bd5\u3001\u77e5\u8bc6\u5e93 RAG \u68c0\u7d22\u7b49\u6838\u5fc3\u529f\u80fd\u3002<\/p>\n<h2>\u9879\u76ee\u4ecb\u7ecd<\/h2>\n<p>InterviewGuide \u662f\u4e00\u4e2a\u96c6\u6210\u4e86\u7b80\u5386\u5206\u6790\u3001\u6a21\u62df\u9762\u8bd5\u548c\u77e5\u8bc6\u5e93\u7ba1\u7406\u7684\u667a\u80fd\u9762\u8bd5\u8f85\u52a9\u5e73\u53f0\u3002\u7cfb\u7edf\u5229\u7528\u5927\u8bed\u8a00\u6a21\u578b\uff08LLM\uff09\u548c\u5411\u91cf\u6570\u636e\u5e93\u6280\u672f\uff0c\u4e3a\u6c42\u804c\u8005\u548c HR \u63d0\u4f9b\u667a\u80fd\u5316\u7684\u7b80\u5386\u8bc4\u4f30\u548c\u9762\u8bd5\u7ec3\u4e60\u670d\u52a1\u3002<\/p>\n<ul>\n<li>Github \u5730\u5740\uff1a<strong><a href=\"https:\/\/link.segmentfault.com\/?enc=mz5fp%2FJoKvleIArZqoB%2F4Q%3D%3D.CulNvUlBr8wWns5miKWw4rYod6IlZ1TPxGzyqbPciMCxDtUUwyLxwYiocTffi5DC\" rel=\"nofollow noopener noreferrer\" target=\"_blank\">https:\/\/github.com\/Snailclimb\/interview-guide<\/a><\/strong><\/li>\n<li>Gitee \u5730\u5740\uff1a<strong><a href=\"https:\/\/link.segmentfault.com\/?enc=0Vj2zTeP%2FHYXG0gN5m3Uuw%3D%3D.K5jQ3efTt27g9g1ptaMl2PDlwR2T7M9Dwvt5t4Z1389ycj8fpIjScSJM0ZMgBSok\" rel=\"nofollow noopener noreferrer\" target=\"_blank\">https:\/\/gitee.com\/SnailClimb\/interview-guide<\/a><\/strong><\/li>\n<\/ul>\n<p>\u611f\u5174\u8da3\u7684\u670b\u53cb\u53ef\u4ee5\u62c9\u4e0b\u6765\u8bd5\u8bd5\uff0c\u6b22\u8fce Star \u9f13\u52b1\u4e00\u4e0b\uff01\u529f\u80fd\u4f1a\u7ee7\u7eed\u5b8c\u5584\u6539\u8fdb\uff0c\u73b0\u5728\u53ea\u662f\u6700\u57fa\u7840\u7248\u672c\uff01<\/p>\n<h2>\u7cfb\u7edf\u67b6\u6784<\/h2>\n<p><img decoding=\"async\"   referrerpolicy=\"no-referrer\" src=\"https:\/\/segmentfault.com\/img\/remote\/1460000047520598\" alt=\"\" title=\"\"><\/p>\n<p><strong>\u5f02\u6b65\u5904\u7406\u6d41\u7a0b<\/strong>\uff1a<\/p>\n<p>\u7b80\u5386\u5206\u6790\u548c\u77e5\u8bc6\u5e93\u5411\u91cf\u5316\u91c7\u7528 Redis Stream \u5f02\u6b65\u5904\u7406\uff1a<\/p>\n<pre><code>\u4e0a\u4f20\u8bf7\u6c42 \u2192 \u4fdd\u5b58\u6587\u4ef6 \u2192 \u53d1\u9001\u6d88\u606f\u5230 Stream \u2192 \u7acb\u5373\u8fd4\u56de\n                              \u2193\n                      Consumer \u6d88\u8d39\u6d88\u606f\n                              \u2193\n                    \u6267\u884c\u5206\u6790\/\u5411\u91cf\u5316\u4efb\u52a1\n                              \u2193\n                      \u66f4\u65b0\u6570\u636e\u5e93\u72b6\u6001\n                              \u2193\n                   \u524d\u7aef\u8f6e\u8be2\u83b7\u53d6\u6700\u65b0\u72b6\u6001<\/code><\/pre>\n<p>\u72b6\u6001\u6d41\u8f6c\uff1a <code>PENDING<\/code> \u2192 <code>PROCESSING<\/code> \u2192 <code>COMPLETED<\/code> \/ <code>FAILED<\/code><\/p>\n<h2>\u6280\u672f\u6808<\/h2>\n<h3>\u540e\u7aef\u6280\u672f<\/h3>\n<table>\n<thead>\n<tr>\n<th>\u6280\u672f<\/th>\n<th>\u7248\u672c<\/th>\n<th>\u8bf4\u660e<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>Spring Boot<\/td>\n<td>3.3<\/td>\n<td>\u5e94\u7528\u6846\u67b6<\/td>\n<\/tr>\n<tr>\n<td>Java<\/td>\n<td>21<\/td>\n<td>\u5f00\u53d1\u8bed\u8a00<\/td>\n<\/tr>\n<tr>\n<td>Spring AI<\/td>\n<td>1.1.2<\/td>\n<td>AI \u96c6\u6210\u6846\u67b6<\/td>\n<\/tr>\n<tr>\n<td>PostgreSQL + pgvector<\/td>\n<td>14+<\/td>\n<td>\u5173\u7cfb\u6570\u636e\u5e93 + \u5411\u91cf\u5b58\u50a8<\/td>\n<\/tr>\n<tr>\n<td>Redis<\/td>\n<td>6+<\/td>\n<td>\u7f13\u5b58 + \u6d88\u606f\u961f\u5217\uff08Stream\uff09<\/td>\n<\/tr>\n<tr>\n<td>Apache Tika<\/td>\n<td>2.9.2<\/td>\n<td>\u6587\u6863\u89e3\u6790<\/td>\n<\/tr>\n<tr>\n<td>iText 7<\/td>\n<td>7.2.5<\/td>\n<td>PDF \u5bfc\u51fa<\/td>\n<\/tr>\n<tr>\n<td>MapStruct<\/td>\n<td>1.5.5.Final<\/td>\n<td>\u5bf9\u8c61\u6620\u5c04<\/td>\n<\/tr>\n<tr>\n<td>Gradle<\/td>\n<td>8.8<\/td>\n<td>\u6784\u5efa\u5de5\u5177<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u6280\u672f\u9009\u578b\u5e38\u89c1\u95ee\u9898\u89e3\u7b54\uff1a<\/p>\n<ol>\n<li>\u6570\u636e\u5b58\u50a8\u4e3a\u4ec0\u4e48\u9009\u62e9 PostgreSQL + pgvector\uff1fPG \u7684\u5411\u91cf\u6570\u636e\u5b58\u50a8\u529f\u80fd\u591f\u7528\u4e86\uff0c\u7cbe\u7b80\u67b6\u6784\uff0c\u4e0d\u60f3\u5f15\u5165\u592a\u591a\u7ec4\u4ef6\u3002<\/li>\n<li>\n<p>\u4e3a\u4ec0\u4e48\u5f15\u5165 Redis\uff1f<\/p>\n<ul>\n<li>Redis \u66ff\u4ee3 <code>ConcurrentHashMap<\/code> \u5b9e\u73b0\u9762\u8bd5\u4f1a\u8bdd\u7684\u7f13\u5b58\u3002<\/li>\n<li>\u57fa\u4e8e Redis Stream \u5b9e\u73b0\u7b80\u5386\u5206\u6790\u3001\u77e5\u8bc6\u5e93\u5411\u91cf\u5316\u7b49\u573a\u666f\u7684\u5f02\u6b65\uff08\u8fd8\u80fd\u89e3\u8026\uff0c\u5206\u6790\u548c\u5411\u91cf\u5316\u53ef\u4ee5\u4f7f\u7528\u5176\u4ed6\u7f16\u7a0b\u8bed\u8a00\u6765\u505a\uff09\u3002\u4e0d\u4f7f\u7528 <a href=\"https:\/\/link.segmentfault.com\/?enc=pLEt6XR86B7F436pHStQIw%3D%3D.QzRphlmdqIydybn4UHmWSPW4cJHmBcZ0dFzBarJN2CLBxSKx36jcPixS%2F5OqN6GB6i7uw0sA8PN1f2JvxWELeeYRJfIJfUI9tH04q2gDV%2Bk%3D\" rel=\"nofollow noopener noreferrer\" title=\"Kafka\" target=\"_blank\">Kafka<\/a> \u8fd9\u7c7b\u6210\u719f\u7684\u6d88\u606f\u961f\u5217\uff0c\u4e5f\u662f\u4e0d\u60f3\u5f15\u5165\u592a\u591a\u7ec4\u4ef6\u3002<\/li>\n<\/ul>\n<\/li>\n<li>\u6784\u5efa\u5de5\u5177\u4e3a\u4ec0\u4e48\u9009\u62e9 Gradle\uff1f\u4e2a\u4eba\u66f4\u559c\u6b22\u7528 Gradle\uff0c\u4e5f\u5199\u8fc7\u76f8\u5173\u7684\u6587\u7ae0\uff1a<a href=\"https:\/\/link.segmentfault.com\/?enc=NAWSRRqZH2yF7IiUylxdgA%3D%3D.HcIap737rRvprl8bho8B%2BUukusIoN4vdjK4146QhaqIM6EBRCkONJW%2Ba1qcTxXpgjVfU%2FnJb4g8RmnAVd2NSdQ%3D%3D\" rel=\"nofollow noopener noreferrer\" title=\"Gradle\u6838\u5fc3\u6982\u5ff5\u603b\u7ed3\" target=\"_blank\">Gradle \u6838\u5fc3\u6982\u5ff5\u603b\u7ed3<\/a>\u3002<\/li>\n<\/ol>\n<h3>\u524d\u7aef\u6280\u672f<\/h3>\n<table>\n<thead>\n<tr>\n<th>\u6280\u672f<\/th>\n<th>\u7248\u672c<\/th>\n<th>\u8bf4\u660e<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>React<\/td>\n<td>18.3<\/td>\n<td>UI \u6846\u67b6<\/td>\n<\/tr>\n<tr>\n<td>TypeScript<\/td>\n<td>5.6<\/td>\n<td>\u5f00\u53d1\u8bed\u8a00<\/td>\n<\/tr>\n<tr>\n<td>Vite<\/td>\n<td>5.4<\/td>\n<td>\u6784\u5efa\u5de5\u5177<\/td>\n<\/tr>\n<tr>\n<td>Tailwind CSS<\/td>\n<td>4.1<\/td>\n<td>\u6837\u5f0f\u6846\u67b6<\/td>\n<\/tr>\n<tr>\n<td>React Router<\/td>\n<td>7.11<\/td>\n<td>\u8def\u7531\u7ba1\u7406<\/td>\n<\/tr>\n<tr>\n<td>Framer Motion<\/td>\n<td>12.23<\/td>\n<td>\u52a8\u753b\u5e93<\/td>\n<\/tr>\n<tr>\n<td>Recharts<\/td>\n<td>3.6<\/td>\n<td>\u56fe\u8868\u5e93<\/td>\n<\/tr>\n<tr>\n<td>Lucide React<\/td>\n<td>&#8211;<\/td>\n<td>\u56fe\u6807\u5e93<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h2>\u529f\u80fd\u7279\u6027<\/h2>\n<h3>\u7b80\u5386\u7ba1\u7406\u6a21\u5757<\/h3>\n<ul>\n<li>\u591a\u683c\u5f0f\u652f\u6301\uff1aPDF\u3001DOCX\u3001DOC\u3001TXT<\/li>\n<li>\u5f02\u6b65\u5206\u6790\uff1a\u4e0a\u4f20\u540e\u7acb\u5373\u8fd4\u56de\uff0c\u540e\u53f0 Redis Stream \u5904\u7406<\/li>\n<li>\u72b6\u6001\u8f6e\u8be2\uff1a\u5b9e\u65f6\u663e\u793a\u5206\u6790\u8fdb\u5ea6\uff08\u5f85\u5206\u6790\/\u5206\u6790\u4e2d\/\u5df2\u5b8c\u6210\/\u5931\u8d25\uff09<\/li>\n<li>\u81ea\u52a8\u91cd\u8bd5\uff1a\u5206\u6790\u5931\u8d25\u81ea\u52a8\u91cd\u8bd5\uff08\u6700\u591a 3 \u6b21\uff09<\/li>\n<li>\u7b80\u5386\u53bb\u91cd\uff1a\u57fa\u4e8e\u5185\u5bb9\u54c8\u5e0c\u68c0\u6d4b\u91cd\u590d<\/li>\n<li>PDF \u62a5\u544a\u5bfc\u51fa<\/li>\n<\/ul>\n<h3>\u6a21\u62df\u9762\u8bd5\u6a21\u5757<\/h3>\n<ul>\n<li>\u57fa\u4e8e\u7b80\u5386\u751f\u6210\u4e2a\u6027\u5316\u9762\u8bd5\u95ee\u9898<\/li>\n<li>\u5b9e\u65f6\u95ee\u7b54\u4ea4\u4e92<\/li>\n<li>\u591a\u7ef4\u5ea6\u8bc4\u5206\uff08\u6280\u672f\u80fd\u529b\u3001\u6c9f\u901a\u80fd\u529b\u7b49\uff09<\/li>\n<li>\u9762\u8bd5\u62a5\u544a\u751f\u6210\u548c\u5bfc\u51fa<\/li>\n<li>\u96f7\u8fbe\u56fe\u53ef\u89c6\u5316\u5c55\u793a<\/li>\n<li>\u9762\u8bd5\u5386\u53f2\u7edf\u8ba1<\/li>\n<\/ul>\n<h3>\u77e5\u8bc6\u5e93\u7ba1\u7406\u6a21\u5757<\/h3>\n<ul>\n<li>\u591a\u683c\u5f0f\u652f\u6301\uff1aPDF\u3001DOCX\u3001DOC\u3001TXT\u3001Markdown<\/li>\n<li>\u6587\u6863\u4e0a\u4f20\u548c\u81ea\u52a8\u5206\u5757<\/li>\n<li>\u5f02\u6b65\u5411\u91cf\u5316\u5904\u7406<\/li>\n<li>RAG \u68c0\u7d22\u589e\u5f3a\u751f\u6210<\/li>\n<li>\u6d41\u5f0f\u54cd\u5e94\uff08SSE\uff09<\/li>\n<li>\u667a\u80fd\u95ee\u7b54\u5bf9\u8bdd<\/li>\n<li>\u77e5\u8bc6\u5e93\u7edf\u8ba1\u4fe1\u606f<\/li>\n<\/ul>\n<h3>TODO<\/h3>\n<ul>\n<li>[ ] \u95ee\u7b54\u52a9\u624b\u7684 Markdown \u5c55\u793a\u4f18\u5316<\/li>\n<li>[ ] \u77e5\u8bc6\u5e93\u7ba1\u7406\u9875\u9762\u7684\u4e0b\u8f7d<\/li>\n<li>[ ] \u5f02\u6b65\u751f\u6210\u6a21\u62df\u9762\u8bd5\u8bc4\u4f30\u62a5\u544a<\/li>\n<li>[ ] \u6a21\u62df\u9762\u8bd5\u589e\u52a0\u8ffd\u95ee\u529f\u80fd<\/li>\n<li>[ ] \u6253\u901a\u6a21\u62df\u9762\u8bd5\u548c\u77e5\u8bc6\u5e93<\/li>\n<\/ul>\n<h2>\u6548\u679c\u5c55\u793a<\/h2>\n<h3>\u7b80\u5386\u4e0e\u9762\u8bd5<\/h3>\n<p>\u7b80\u5386\u5e93\uff1a<\/p>\n<p><img decoding=\"async\"   referrerpolicy=\"no-referrer\" src=\"https:\/\/segmentfault.com\/img\/remote\/1460000047520599\" alt=\"\" title=\"\" loading=\"lazy\"><\/p>\n<p>\u7b80\u5386\u4e0a\u4f20\u5206\u6790\uff1a<\/p>\n<p><img decoding=\"async\"   referrerpolicy=\"no-referrer\" src=\"https:\/\/segmentfault.com\/img\/remote\/1460000047520600\" alt=\"\" title=\"\" loading=\"lazy\"><\/p>\n<p>\u7b80\u5386\u5206\u6790\u8be6\u60c5\uff1a<\/p>\n<p><img decoding=\"async\"   referrerpolicy=\"no-referrer\" src=\"https:\/\/segmentfault.com\/img\/remote\/1460000047520601\" alt=\"\" title=\"\" loading=\"lazy\"><\/p>\n<p>\u9762\u8bd5\u8bb0\u5f55\uff1a<\/p>\n<p><img decoding=\"async\"   referrerpolicy=\"no-referrer\" src=\"https:\/\/segmentfault.com\/img\/remote\/1460000047520602\" alt=\"\" title=\"\" loading=\"lazy\"><\/p>\n<p>\u9762\u8bd5\u8be6\u60c5\uff1a<\/p>\n<p><img decoding=\"async\"   referrerpolicy=\"no-referrer\" src=\"https:\/\/segmentfault.com\/img\/remote\/1460000047520603\" alt=\"\" title=\"\" loading=\"lazy\"><\/p>\n<p>\u6a21\u62df\u9762\u8bd5\uff1a<\/p>\n<p><img decoding=\"async\"   referrerpolicy=\"no-referrer\" src=\"https:\/\/segmentfault.com\/img\/remote\/1460000047520604\" alt=\"\" title=\"\" loading=\"lazy\"><\/p>\n<h3>\u77e5\u8bc6\u5e93<\/h3>\n<p>\u77e5\u8bc6\u5e93\u7ba1\u7406\uff1a<\/p>\n<p><img decoding=\"async\"   referrerpolicy=\"no-referrer\" src=\"https:\/\/segmentfault.com\/img\/remote\/1460000047520605\" alt=\"\" title=\"\" loading=\"lazy\"><\/p>\n<p>\u95ee\u7b54\u52a9\u624b\uff1a<\/p>\n<p><img decoding=\"async\"   referrerpolicy=\"no-referrer\" src=\"https:\/\/segmentfault.com\/img\/remote\/1460000047520606\" alt=\"page-qa-assistant\" title=\"page-qa-assistant\" loading=\"lazy\"><\/p>\n<h2>\u9879\u76ee\u7ed3\u6784<\/h2>\n<pre><code>interview-guide\/\n\u251c\u2500\u2500 app\/                              # \u540e\u7aef\u5e94\u7528\n\u2502   \u251c\u2500\u2500 src\/main\/java\/interview\/guide\/\n\u2502   \u2502   \u251c\u2500\u2500 App.java                  # \u4e3b\u542f\u52a8\u7c7b\n\u2502   \u2502   \u251c\u2500\u2500 common\/                   # \u901a\u7528\u6a21\u5757\n\u2502   \u2502   \u2502   \u251c\u2500\u2500 config\/               # \u914d\u7f6e\u7c7b\n\u2502   \u2502   \u2502   \u251c\u2500\u2500 exception\/            # \u5f02\u5e38\u5904\u7406\n\u2502   \u2502   \u2502   \u2514\u2500\u2500 result\/               # \u7edf\u4e00\u54cd\u5e94\n\u2502   \u2502   \u251c\u2500\u2500 infrastructure\/           # \u57fa\u7840\u8bbe\u65bd\n\u2502   \u2502   \u2502   \u251c\u2500\u2500 export\/               # PDF \u5bfc\u51fa\n\u2502   \u2502   \u2502   \u251c\u2500\u2500 file\/                 # \u6587\u4ef6\u5904\u7406\n\u2502   \u2502   \u2502   \u251c\u2500\u2500 redis\/                # Redis \u670d\u52a1\n\u2502   \u2502   \u2502   \u2514\u2500\u2500 storage\/              # \u5bf9\u8c61\u5b58\u50a8\n\u2502   \u2502   \u2514\u2500\u2500 modules\/                  # \u4e1a\u52a1\u6a21\u5757\n\u2502   \u2502       \u251c\u2500\u2500 interview\/            # \u9762\u8bd5\u6a21\u5757\n\u2502   \u2502       \u251c\u2500\u2500 knowledgebase\/        # \u77e5\u8bc6\u5e93\u6a21\u5757\n\u2502   \u2502       \u2514\u2500\u2500 resume\/               # \u7b80\u5386\u6a21\u5757\n\u2502   \u2514\u2500\u2500 src\/main\/resources\/\n\u2502       \u251c\u2500\u2500 application.yml           # \u5e94\u7528\u914d\u7f6e\n\u2502       \u2514\u2500\u2500 prompts\/                  # AI \u63d0\u793a\u8bcd\u6a21\u677f\n\u2502\n\u251c\u2500\u2500 frontend\/                         # \u524d\u7aef\u5e94\u7528\n\u2502   \u251c\u2500\u2500 src\/\n\u2502   \u2502   \u251c\u2500\u2500 api\/                      # API \u63a5\u53e3\n\u2502   \u2502   \u251c\u2500\u2500 components\/               # \u516c\u5171\u7ec4\u4ef6\n\u2502   \u2502   \u251c\u2500\u2500 pages\/                    # \u9875\u9762\u7ec4\u4ef6\n\u2502   \u2502   \u251c\u2500\u2500 types\/                    # \u7c7b\u578b\u5b9a\u4e49\n\u2502   \u2502   \u2514\u2500\u2500 utils\/                    # \u5de5\u5177\u51fd\u6570\n\u2502   \u251c\u2500\u2500 package.json\n\u2502   \u2514\u2500\u2500 vite.config.ts\n\u2502\n\u2514\u2500\u2500 README.md<\/code><\/pre>\n<h2>\u5feb\u901f\u5f00\u59cb<\/h2>\n<p>\u73af\u5883\u8981\u6c42\uff1a<\/p>\n<table>\n<thead>\n<tr>\n<th>\u4f9d\u8d56<\/th>\n<th>\u7248\u672c<\/th>\n<th>\u5fc5\u9700<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>JDK<\/td>\n<td>21+<\/td>\n<td>\u662f<\/td>\n<\/tr>\n<tr>\n<td>Node.js<\/td>\n<td>18+<\/td>\n<td>\u662f<\/td>\n<\/tr>\n<tr>\n<td>PostgreSQL<\/td>\n<td>14+<\/td>\n<td>\u662f<\/td>\n<\/tr>\n<tr>\n<td>pgvector \u6269\u5c55<\/td>\n<td>&#8211;<\/td>\n<td>\u662f<\/td>\n<\/tr>\n<tr>\n<td>Redis<\/td>\n<td>6+<\/td>\n<td>\u662f<\/td>\n<\/tr>\n<tr>\n<td>S3 \u517c\u5bb9\u5b58\u50a8<\/td>\n<td>&#8211;<\/td>\n<td>\u662f<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h3>1. \u514b\u9686\u9879\u76ee<\/h3>\n<pre><code class=\"bash\">git clone https:\/\/github.com\/Snailclimb\/interview-guide.git\ncd interview-guide<\/code><\/pre>\n<h3>2. \u914d\u7f6e\u6570\u636e\u5e93<\/h3>\n<pre><code class=\"sql\">-- \u521b\u5efa\u6570\u636e\u5e93\nCREATE DATABASE interview_guide;\n\n-- \u8fde\u63a5\u6570\u636e\u5e93\u5e76\u542f\u7528 pgvector \u6269\u5c55\uff08\u53ef\u9009\uff0c\u542f\u52a8\u540e\u7aefSpringAI\u6846\u67b6\u5e95\u5c42\u4f1a\u81ea\u52a8\u521b\u5efa\uff09\nCREATE EXTENSION vector;<\/code><\/pre>\n<h3>3. \u914d\u7f6e\u73af\u5883\u53d8\u91cf<\/h3>\n<pre><code class=\"bash\"># AI API \u5bc6\u94a5\uff08\u963f\u91cc\u4e91 DashScope\uff09\nexport AI_BAILIAN_API_KEY=your_api_key<\/code><\/pre>\n<h3>4. \u4fee\u6539\u5e94\u7528\u914d\u7f6e<\/h3>\n<p>\u7f16\u8f91 <code>app\/src\/main\/resources\/application.yml<\/code>\uff1a<\/p>\n<pre><code class=\"yaml\">spring:\n  # PostgreSQL\u6570\u636e\u5e93\u914d\u7f6e\n  datasource:\n    url: jdbc:postgresql:\/\/localhost:5432\/interview_guide\n    username: your_username\n    password: your_password\n\n  data:\n    redis:\n      host: localhost\n      port: 6379\n\n# RustFS (S3\u517c\u5bb9) \u5b58\u50a8\u914d\u7f6e\napp:\n  storage:\n    endpoint: http:\/\/localhost:9000\n    access-key: your_access_key\n    secret-key: your_secret_key\n    bucket: interview-guide\n\n # Redisson\u914d\u7f6e\nredisson:\n  config: |\n    singleServerConfig:\n      address: &quot;redis:\/\/localhost:6379&quot;\n      database: 0\n      idleConnectionTimeout: 10000\n      connectTimeout: 10000\n      timeout: 3000\n      retryAttempts: 3\n      retryInterval: 1500\n      password: null\n      subscriptionsPerConnection: 5\n      clientName: null\n      subscriptionConnectionMinimumIdleSize: 1\n      subscriptionConnectionPoolSize: 50\n      connectionMinimumIdleSize: 10\n      connectionPoolSize: 64\n      dnsMonitoringInterval: 5000\n<\/code><\/pre>\n<h3>5. \u542f\u52a8\u670d\u52a1<\/h3>\n<p><strong>\u540e\u7aef\uff1a<\/strong><\/p>\n<pre><code class=\"bash\">.\/gradlew bootRun<\/code><\/pre>\n<p>\u540e\u7aef\u670d\u52a1\u542f\u52a8\u4e8e <code>http:\/\/localhost:8080<\/code><\/p>\n<p><strong>\u524d\u7aef\uff1a<\/strong><\/p>\n<pre><code class=\"bash\">cd frontend\npnpm install\npnpm dev<\/code><\/pre>\n<p>\u524d\u7aef\u670d\u52a1\u542f\u52a8\u4e8e <code>http:\/\/localhost:5173<\/code><\/p>\n<h2>\u4f7f\u7528\u573a\u666f<\/h2>\n<table>\n<thead>\n<tr>\n<th>\u7528\u6237\u89d2\u8272<\/th>\n<th>\u4f7f\u7528\u573a\u666f<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td><strong>\u6c42\u804c\u8005<\/strong><\/td>\n<td>\u4e0a\u4f20\u7b80\u5386\u83b7\u53d6\u5206\u6790\u5efa\u8bae\uff0c\u8fdb\u884c\u6a21\u62df\u9762\u8bd5\u7ec3\u4e60<\/td>\n<\/tr>\n<tr>\n<td><strong>HR\/\u62db\u8058\u4eba\u5458<\/strong><\/td>\n<td>\u6279\u91cf\u5206\u6790\u7b80\u5386\uff0c\u8bc4\u4f30\u5019\u9009\u4eba\u80fd\u529b<\/td>\n<\/tr>\n<tr>\n<td><strong>\u57f9\u8bad\u673a\u6784<\/strong><\/td>\n<td>\u63d0\u4f9b\u9762\u8bd5\u57f9\u8bad\u670d\u52a1\uff0c\u7ba1\u7406\u77e5\u8bc6\u5e93\u8d44\u6e90<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h2>\u5e38\u89c1\u95ee\u9898<\/h2>\n<h3>Q: \u7b80\u5386\u5206\u6790\u5931\u8d25<\/h3>\n<p>\u68c0\u67e5\u4e00\u4e0b\u963f\u91cc\u4e91 DashScope API KEY \u662f\u5426\u914d\u7f6e\u6b63\u786e\uff08\u7533\u8bf7\u5730\u5740\uff1a<a href=\"https:\/\/link.segmentfault.com\/?enc=%2BtKS6f6CqJGSvcB7ri6%2B6A%3D%3D.xGleKkJZY8MIo%2Bx8%2FN%2BJ%2FM5T3RKsm2OvF9wlQpTLzM4YvFvOtzegwOkKmuXNBdXM\" rel=\"nofollow noopener noreferrer\" target=\"_blank\">https:\/\/bailian.console.aliyun.com\/<\/a>\uff09\u3002<\/p>\n<h3>Q: \u7b80\u5386\u5206\u6790\u4e00\u76f4\u663e\u793a&#8221;\u5206\u6790\u4e2d&#8221;\uff1f<\/h3>\n<p>\u68c0\u67e5 Redis \u8fde\u63a5\u548c Stream Consumer \u662f\u5426\u6b63\u5e38\u8fd0\u884c\u3002\u67e5\u770b\u540e\u7aef\u65e5\u5fd7\u786e\u8ba4\u662f\u5426\u6709\u9519\u8bef\u3002<\/p>\n<h3>Q: \u77e5\u8bc6\u5e93\u95ee\u7b54\u6ca1\u6709\u54cd\u5e94\uff1f<\/h3>\n<p>\u786e\u8ba4\u77e5\u8bc6\u5e93\u5df2\u5b8c\u6210\u5411\u91cf\u5316\uff08\u72b6\u6001\u4e3a COMPLETED\uff09\uff0c\u68c0\u67e5 pgvector \u6269\u5c55\u662f\u5426\u6b63\u786e\u5b89\u88c5\u3002<\/p>\n<h3>Q: PDF \u5bfc\u51fa\u5931\u8d25\uff1f<\/h3>\n<p>\u68c0\u67e5 iText \u4f9d\u8d56\u662f\u5426\u6b63\u786e\uff0c\u786e\u8ba4\u5b57\u4f53\u6587\u4ef6\u5b58\u5728\u3002<\/p>\n<h2>\u5206\u652f\u8bf4\u660e<\/h2>\n<table>\n<thead>\n<tr>\n<th>\u5206\u652f<\/th>\n<th>\u8bf4\u660e<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td><code>master<\/code><\/td>\n<td>\u4e3b\u5206\u652f\uff0c\u5305\u542b\u5b8c\u6574\u529f\u80fd\uff08Redis Stream \u5f02\u6b65\u5904\u7406\uff09<\/td>\n<\/tr>\n<tr>\n<td><code>v1.0-without-redis<\/code><\/td>\n<td>\u57fa\u7840\u7248\u672c\uff0c\u540c\u6b65\u5904\u7406\uff0c\u65e0 Redis \u4f9d\u8d56<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h2>\u8d21\u732e<\/h2>\n<p>\u6b22\u8fce\u63d0\u4ea4 Issue \u548c Pull Request\uff01<\/p>\n<h2>\u8bb8\u53ef\u8bc1<\/h2>\n<p>AGPL-3.0 License\uff08\u53ea\u8981\u901a\u8fc7\u7f51\u7edc\u63d0\u4f9b\u670d\u52a1\uff0c\u5c31\u5fc5\u987b\u5411\u7528\u6237\u516c\u5f00\u4fee\u6539\u540e\u7684\u6e90\u7801\uff09<\/p>\n<p><a href=\"https:\/\/segmentfault.com\/a\/1190000047520596\">https:\/\/segmentfault.com\/a\/1190000047520596<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u4f60\u597d\uff0c\u6211\u662f Guide\u3002\u5229\u7528\u5143\u65e6\u5047\u671f\uff0c\u6211\u5f00\u6e90\u4e86\u4e00\u4e2a\u57fa\u4e8e Spring Boot 3.3 + Java 21 + [&hellip;]<\/p>\n","protected":false},"author":8,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[4],"tags":[],"class_list":["post-10021160","post","type-post","status-publish","format-standard","hentry","category-share"],"jetpack_sharing_enabled":true,"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/itmax.cn\/index.php?rest_route=\/wp\/v2\/posts\/10021160","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/itmax.cn\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/itmax.cn\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/itmax.cn\/index.php?rest_route=\/wp\/v2\/users\/8"}],"replies":[{"embeddable":true,"href":"https:\/\/itmax.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=10021160"}],"version-history":[{"count":0,"href":"https:\/\/itmax.cn\/index.php?rest_route=\/wp\/v2\/posts\/10021160\/revisions"}],"wp:attachment":[{"href":"https:\/\/itmax.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=10021160"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/itmax.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=10021160"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/itmax.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=10021160"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}